blob: 436b918effc4d3f0d2ade4d1512e19672f72fbc3 [file] [log] [blame] [view] [edit]
Use lock-files in the way git does with auto-cleanup being the most notable feature.
* [x] writable lock files that can be committed to atomically replace the resource they lock
* [x] read-only markers that lock a resource without the intend to overwrite it
* [x] auto-removal of the lockfiles and intermediate directories on drop or on signal