Versions in this module Expand all Collapse all v1 v1.0.1 May 16, 2022 Changes in this version + var ErrNotSupported = errors.New("operation not supported") + var ErrWouldBlock = errors.New("filelock would block") + func IsNotSupported(err error) bool + func Lock(f File) error + func RLock(f File) error + func TryLock(f File) error + func TryRLock(f File) error + func Unlock(f File) error + type File interface + Fd func() uintptr + Name func() string + Stat func() (fs.FileInfo, error)