|
a/src/utils/pathut.h |
|
b/src/utils/pathut.h |
|
... |
|
... |
72 |
occupation */
|
72 |
occupation */
|
73 |
bool fsocc(const string &path, int *pc, // Percent occupied
|
73 |
bool fsocc(const string &path, int *pc, // Percent occupied
|
74 |
long *avmbs = 0 // Mbs available to non-superuser
|
74 |
long *avmbs = 0 // Mbs available to non-superuser
|
75 |
);
|
75 |
);
|
76 |
|
76 |
|
77 |
/// Create temporary directory
|
77 |
/// Retrieve the temp dir location: $RECOLL_TMPDIR else $TMPDIR else /tmp
|
|
|
78 |
extern const string& tmplocation();
|
|
|
79 |
|
|
|
80 |
/// Create temporary directory (inside the temp location)
|
78 |
extern bool maketmpdir(string& tdir, string& reason);
|
81 |
extern bool maketmpdir(string& tdir, string& reason);
|
79 |
|
82 |
|
80 |
/// mkdir -p
|
83 |
/// mkdir -p
|
81 |
extern bool makepath(const string& path);
|
84 |
extern bool makepath(const string& path);
|
82 |
|
85 |
|