gitmap 0.1.0

Persistant key-value store backed by GIT.
Documentation
1
2
3
4
5
6
7
8
9
use gitmap::{Repo};
use tempfile::{TempDir};

#[test]
fn initializes_repository() {
    let path = TempDir::new().unwrap().path().to_owned();
    let map = Repo::init(&path).unwrap();
    assert_eq!(map.path().join("config").exists(), true);
}