This is the initial commit of package flock, which provides a sync.Locker interface to file locking with the addition of a non-blocking TryLock() function.
The API documentation should be fairly filled-out, with an example provided in flock_example_test.go for the GoDoc documentation.
This is the initial commit of package
flock
, which provides async.Locker
interface to file locking with the addition of a non-blockingTryLock()
function.The API documentation should be fairly filled-out, with an example provided in
flock_example_test.go
for the GoDoc documentation.