# Functions
Lock locks a file lock.
LockWithRetryDelay returns a new LockOption that sets the lock retry delay.
LockWithTimeout returns a new LockOption that sets the lock timeout.
NewLocker returns a new Locker for the given root directory path.
NewNopLocker returns a new no-op Locker.
RLock read-locks a file lock.
# Constants
DefaultLockRetryDelay is the default lock retry delay.
DefaultLockTimeout is the default lock timeout.
# Type aliases
LockOption is an option for lock.