summaryrefslogtreecommitdiff
path: root/crates/tor-persist/src/fs.rs
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to fslock version 0.2Nick Mathewson2021-10-271-1/+1
| | | | | This version makes all locks per-handle rather than per-process, by moving from lockf() to flock() on unix.
* Replace the return type of StorageMgr::try_lock with a tristateNick Mathewson2021-10-201-6/+8
| | | | | It's useful to know now only if we now have the lock, but also if we just got it for the first time.
* Change tor-persist to use json instead of toml.Nick Mathewson2021-10-071-9/+8
| | | | | | The limitations with toml seemed to be reaching a head, and I wasn't able to refactor the guardmgr code enough to actually have its state be serializable as toml. Json's limitations are much narrower.
* Move FsStatemgr to an inner module.Nick Mathewson2021-09-301-0/+191