Skip to main content
method Deno.FsFile.prototype.lockSync

Synchronously acquire an advisory file-system lock synchronously for the file.

Parameters

optional
exclusive: boolean