|
a/src/utils/pathut.h |
|
b/src/utils/pathut.h |
|
... |
|
... |
58 |
//// Convert to file path if url is like file://. This modifies the
|
58 |
//// Convert to file path if url is like file://. This modifies the
|
59 |
//// input (and returns a copy for convenience)
|
59 |
//// input (and returns a copy for convenience)
|
60 |
extern std::string fileurltolocalpath(std::string url);
|
60 |
extern std::string fileurltolocalpath(std::string url);
|
61 |
/// Test for file:/// url
|
61 |
/// Test for file:/// url
|
62 |
extern bool urlisfileurl(const std::string& url);
|
62 |
extern bool urlisfileurl(const std::string& url);
|
|
|
63 |
///
|
|
|
64 |
extern std::string url_parentfolder(const std::string& url);
|
63 |
|
65 |
|
64 |
/// Return the host+path part of an url. This is not a general
|
66 |
/// Return the host+path part of an url. This is not a general
|
65 |
/// routine, it does the right thing only in the recoll context
|
67 |
/// routine, it does the right thing only in the recoll context
|
66 |
extern std::string url_gpath(const std::string& url);
|
68 |
extern std::string url_gpath(const std::string& url);
|
67 |
|
69 |
|