def Flock.try
import cswap-bend-cli@0.1.0.0/lock.bend as Lockimport Base
13# One LOCK_EX|LOCK_NB attempt on the File's descriptor: Done{1} held, Done{0}
14# someone else holds it. The File comes back beside the answer.
15def Flock.try(file: File) -> IO(File & Result<&1, &1, U32 & String, U32>):
16 import "./effs/flock.c"
17 import "./effs/flock.js"