rs for cross-platform lock behavior that may be relied upon; see the tests in unix | Duplicated files should not be locked without great care |
---|---|
"After years of being tied to an aging project management system and getting charged for every new feature it was time to find a better solution for our us and our clients | File locks are a cross-platform hazard since the file lock APIs exposed by operating system kernels vary in subtle and not-so-subtle ways |
Files to be locked should be opened with at least read or write permissions.
rs for examples of platform-specific behavior | Cage is already managing the tasks of our high maintenance team but best of all our clients are loving it |
---|---|
The API exposed by this library can be safely used across platforms as long as the following rules are followed:• Extension trait for std::fs::File which provides allocation, duplication and locking methods | File locks may only be relied upon to be advisory |
See the tests in lib.
23