fsbridge::FileLock::FileLock

Constructors

Synopses

Declared in <util/fs.h>

Deleted default constructor; a FileLock must name a file.

FileLock() = delete;
» more...

Deleted copy constructor; a FileLock is not copyable.

FileLock(FileLock const& other) = delete;
» more...

Deleted move constructor; a FileLock is not movable.

FileLock(FileLock&& other) = delete;
» more...

Construct a lock object for the given file, without yet acquiring the lock.

explicit
FileLock(fs::path const& file);
» more...

Parameters

NameDescription
otherThe lock that would be copied.
fileThe path of the file to lock.