Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Memory storage should be persistent during process lifetime #50

Closed
burmecia opened this issue Sep 25, 2019 · 0 comments
Closed

Memory storage should be persistent during process lifetime #50

burmecia opened this issue Sep 25, 2019 · 0 comments

Comments

@burmecia
Copy link
Contributor

The memory storage currently is not identified by its URI, that is, each time repo.open is called a new memory storage is created regardless the URI. An in-memory 'persistent' storage should be used as back-end of memory storage, so that an URI specific memory storage can be opened multiple times during process lifetime.

For example, the 2 open calls below should open the same memory storage.

{
  let repo = RepoOpener::new().create(true).open("mem://foo", "pwd");
}
{
  let repo = RepoOpener::new().create(true).open("mem://foo", "pwd");
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant