mirror of
https://github.com/boostorg/quickbook.git
synced 2026-02-02 09:02:15 +00:00
Rename path_to_url to file_path_to_url.
Just to make clear that it isn't appropriate for directories, for which it would need to add a trailing slash. I don't want to add such a check.
This commit is contained in:
@@ -111,7 +111,7 @@ namespace detail {
|
||||
//
|
||||
// Some info on file URLs at:
|
||||
// https://en.wikipedia.org/wiki/File_URI_scheme
|
||||
std::string path_to_url(fs::path const& x)
|
||||
std::string file_path_to_url(fs::path const& x)
|
||||
{
|
||||
// TODO: Maybe should throw an exception if this doesn't understand the path.
|
||||
// TODO: Might need a special cygwin implementation.
|
||||
|
||||
Reference in New Issue
Block a user