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();
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.