Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method Deno.FsFile.prototype.lockSync

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

Parameters

optional
exclusive: boolean