proxy.golang.org : github.com/gofrs/go-flock
Package flock implements a thread-safe interface for file locking. It also includes a non-blocking TryLock() function to allow locking without blocking execution. Package flock is released under the BSD 3-Clause License. See the LICENSE file for more details. While using this library, remember that the locking behaviors are not guaranteed to be the same on each platform. For example, some UNIX-like operating systems will transparently convert a shared lock to an exclusive lock. If you Unlock() the flock from a location where you believe that you have the shared lock, you may accidentally drop the exclusive lock.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/gofrs/go-flock
License: BSD-3-Clause
Latest release: 11 months ago
First release: over 7 years ago
Namespace: github.com/gofrs
Last synced: 29 days ago