tusd/vendor/gopkg.in/Acconut/lockfile.v1
Luca Berton 0b2312020f
Fix typos
2018-11-21 21:43:55 +01:00
..
LICENSE Use personal fork of nightlyone/filelock 2016-09-30 12:03:49 +02:00
README.md Fix typos 2018-11-21 21:43:55 +01:00
appveyor.yml Update lockfile dependency 2017-03-03 11:16:56 +01:00
lockfile.go Update lockfile dependency 2017-03-03 11:16:56 +01:00
lockfile_unix.go Update lockfile dependency 2017-03-03 11:16:56 +01:00
lockfile_windows.go Use personal fork of nightlyone/filelock 2016-09-30 12:03:49 +02:00

README.md

lockfile

Handle locking via pid files.

Attention: This is a fork of Ingo Oeser's amazing work whose behavior differs a bit. While the original package allows a process to obtain the same lock twice, this fork forbids this behavior.

Build Status Unix Build status Windows

install

Install Go 1, either from source or with a prepackaged binary. For Windows support, Go 1.4 or newer is required.

Then run

go get gopkg.in/Acconut/lockfile.v1

LICENSE

BSD

documentation

package documentation at godoc.org

contributing

Contributions are welcome. Please open an issue or send me a pull request for a dedicated branch. Make sure the git commit hooks show it works.

git commit hooks

enable commit hooks via

    cd .git ; rm -rf hooks; ln -s ../git-hooks hooks ; cd ..