package
0.1.48
Repository: https://github.com/aesoper101/x.git
Documentation: pkg.go.dev

# 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.

# Interfaces

Locker provides file locks.
Unlocker unlocks a file lock.

# Type aliases

LockOption is an option for lock.