Documentation
¶
Overview ¶
Package flock takes an exclusive advisory lock on a file, shared between processes of the same user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLocked = errors.New("file is locked")
ErrLocked is returned by Lock with wait false when another holder has the lock.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.