Versions in this module Expand all Collapse all v0 v0.3.10 Dec 18, 2020 Changes in this version + var ErrAlreadyLocked = errors.New("Double lock: already own the lock") + var ErrInodeChangedAtPath = errors.New("Inode changed at path") + var ErrLockFailed = errors.New("Could not acquire lock") + var ErrLockNotHeld = errors.New("Could not unlock, lock is not held") + type Flock struct + func New(path string) *Flock + func (f *Flock) Lock() error + func (f *Flock) Path() string + func (f *Flock) TryLock() (bool, error) + func (f *Flock) Unlock() error