Releases: alexflint/go-filemutex
Releases · alexflint/go-filemutex
Version 1.3
Version 1.2
Calling Close() no longer fails on windows when the file lock was never opened (thanks @lujinda!)
Version 1.1
Added FileMutex.TryLock()
, which immediately returns ErrAlreadyLocked
if the mutex is already locked (by this process or another process). This is different from FileMutex.Lock()
, which blocks until the mutex can be acquired.
Version 1.0
go-filemutex has been stable for several years. This release adds go.mod and go.sum files, bringing this package into alignment with the go module system.