[#util-LockResult]
= xref:util.adoc[util]::LockResult
:relfileprefix: ../
:mrdocs:

Outcome of trying to acquire a directory lock&period;

== Synopsis

Declared in `&lt;util&sol;fs&lowbar;helpers&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class LockResult : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `Success` 
| The directory lock was acquired&period;
| `ErrorWrite` 
| The lock file could not be created or written&period;
| `ErrorLock` 
| The directory is already locked by another process&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:util/LockDirectory.adoc[`LockDirectory`]
| Acquire an exclusive lock on a directory via a lock file&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
