[#fsbridge-FileLock-2constructor-00]
= xref:fsbridge.adoc[fsbridge]::xref:fsbridge/FileLock.adoc[FileLock]::FileLock
:relfileprefix: ../../
:mrdocs:

Construct a lock object for the given file, without yet acquiring the lock&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
FileLock(xref:fs/path.adoc[fs::path] const& file);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *file*
| The path of the file to lock&period;
|===


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