fsbridge::FileLock::FileLock

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

Synopsis

Declared in <util/fs.h>

explicit
FileLock(fs::path const& file);

Parameters

NameDescription
fileThe path of the file to lock.