|
|
@ -70,6 +70,7 @@ int RaiseFileDescriptorLimit(int nMinFD);
|
|
|
|
void AllocateFileRange(FILE *file, unsigned int offset, unsigned int length);
|
|
|
|
void AllocateFileRange(FILE *file, unsigned int offset, unsigned int length);
|
|
|
|
bool RenameOver(fs::path src, fs::path dest);
|
|
|
|
bool RenameOver(fs::path src, fs::path dest);
|
|
|
|
bool LockDirectory(const fs::path& directory, const std::string lockfile_name, bool probe_only=false);
|
|
|
|
bool LockDirectory(const fs::path& directory, const std::string lockfile_name, bool probe_only=false);
|
|
|
|
|
|
|
|
void UnlockDirectory(const fs::path& directory, const std::string& lockfile_name);
|
|
|
|
bool DirIsWritable(const fs::path& directory);
|
|
|
|
bool DirIsWritable(const fs::path& directory);
|
|
|
|
|
|
|
|
|
|
|
|
/** Release all directory locks. This is used for unit testing only, at runtime
|
|
|
|
/** Release all directory locks. This is used for unit testing only, at runtime
|
|
|
|