gofrs / flock

Thread-safe file locking library in Go
https://pkg.go.dev/github.com/gofrs/flock
BSD 3-Clause "New" or "Revised" License
578 stars 66 forks source link

tests: add tests about directory support #89

Closed ldez closed 4 months ago

ldez commented 4 months ago

Since the addition of options to define the flag, a directory can be used as a path for the lock.

This doesn't work on Windows. This has not been tested on AIX and Solaris.

Closes #49