zboxfs / zbox

Zero-details, privacy-focused in-app file system.
https://zbox.io/fs/
Apache License 2.0
1.53k stars 74 forks source link

Exclusive repo access is not implemented #51

Closed burmecia closed 4 years ago

burmecia commented 4 years ago

Currently there is no exclusive repo access implemented on all storages except zbox storage.

For example, below code should not allow simultaneous access to same repo.

let repo = RepoOpener::new().create(true).open("mem://foo", "pwd").unwrap();
let repo2 = RepoOpener::new().create(true).open("mem://foo", "pwd").unwrap();