I suggest we remove the following APIs in favour of new Deno.FsFile methods:
Deno.flock() > Deno.FsFile.lock()
Deno.flockSync() > Deno.FsFile.lockSync()
Deno.funlock() > Deno.FsFile.unlock()
Deno.funlockSync() > Deno.FsFile.unlockSync()
The reasoning is the same as other recent deprecations; they accept rid parameters, and we want to make these private.
Alternatively, if these aren't seen as useful, we can remove them. We should be fine to move or remove them, as they are part of the unstable API.
I suggest we remove the following APIs in favour of new
Deno.FsFilemethods:Deno.flock()>Deno.FsFile.lock()Deno.flockSync()>Deno.FsFile.lockSync()Deno.funlock()>Deno.FsFile.unlock()Deno.funlockSync()>Deno.FsFile.unlockSync()The reasoning is the same as other recent deprecations; they accept
ridparameters, and we want to make these private.Alternatively, if these aren't seen as useful, we can remove them. We should be fine to move or remove them, as they are part of the unstable API.