util::LockResult

Outcome of trying to acquire a directory lock.

Synopsis

Declared in <util/fs_helpers.h>

enum class LockResult : int;

Members

NameDescription
Success The directory lock was acquired.
ErrorWrite The lock file could not be created or written.
ErrorLock The directory is already locked by another process.

Non-Member Functions

NameDescription
LockDirectoryAcquire an exclusive lock on a directory via a lock file.