|
a/src/utils/pathut.h |
|
b/src/utils/pathut.h |
|
... |
|
... |
99 |
@param[output] avmbs Mbs available to non-superuser. Mb=1024*1024
|
99 |
@param[output] avmbs Mbs available to non-superuser. Mb=1024*1024
|
100 |
*/
|
100 |
*/
|
101 |
bool fsocc(const std::string& path, int *pc, long long *avmbs = 0);
|
101 |
bool fsocc(const std::string& path, int *pc, long long *avmbs = 0);
|
102 |
|
102 |
|
103 |
/// mkdir -p
|
103 |
/// mkdir -p
|
104 |
extern bool makepath(const std::string& path);
|
104 |
extern bool path_makepath(const std::string& path, int mode);
|
105 |
|
105 |
|
106 |
/// Where we create the user data subdirs
|
106 |
/// Where we create the user data subdirs
|
107 |
extern std::string path_homedata();
|
107 |
extern std::string path_homedata();
|
108 |
/// Test if path is absolute
|
108 |
/// Test if path is absolute
|
109 |
extern bool path_isabsolute(const std::string& s);
|
109 |
extern bool path_isabsolute(const std::string& s);
|