Switch to unified view

a/src/pathut.h b/src/pathut.h
...
...
111
extern bool path_isabsolute(const std::string& s);
111
extern bool path_isabsolute(const std::string& s);
112
112
113
/// Test if path is root (x:/). root is defined by root/.. == root
113
/// Test if path is root (x:/). root is defined by root/.. == root
114
extern bool path_isroot(const std::string& p);
114
extern bool path_isroot(const std::string& p);
115
115
116
/// Test if sub is a subdirectory of top. This is a textual test,
117
/// links not allowed
118
extern bool path_isdesc(const std::string& top, const std::string& sub);
119
116
/// Turn absolute path into file:// url
120
/// Turn absolute path into file:// url
117
extern std::string path_pathtofileurl(const std::string& path);
121
extern std::string path_pathtofileurl(const std::string& path);
118
122
119
#ifdef _WIN32
123
#ifdef _WIN32
120
/// Convert \ separators to /
124
/// Convert \ separators to /