mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-19 14:40:45 +02:00
Add [[nodiscard]] to RenameOver(...)
This commit is contained in:
parent
9429a398e2
commit
ce9dd45422
@ -60,7 +60,7 @@ bool FileCommit(FILE *file);
|
||||
bool TruncateFile(FILE *file, unsigned int length);
|
||||
int RaiseFileDescriptorLimit(int nMinFD);
|
||||
void AllocateFileRange(FILE *file, unsigned int offset, unsigned int length);
|
||||
bool RenameOver(fs::path src, fs::path dest);
|
||||
[[nodiscard]] bool RenameOver(fs::path src, fs::path dest);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user