repo: change custom new method to std::path::Path-alike
This commit is contained in:
1 parent
fa615fb1bb
commit
f26e0013a5
2 files changed
+5
-4
No files matched your search
@@ -8,7 +8,7 @@ use gio::prelude::*;
|
||||
use libostree::prelude::*;
|
||||
|
||||
fn main() {
|
||||
let repo = libostree::Repo::new_for_str("../../../repo-bare");
|
||||
let repo = libostree::Repo::new_for_path("../../../repo-bare");
|
||||
|
||||
//let result = repo.create(libostree::RepoMode::Archive, Option::None);
|
||||
//result.expect("we did not expect this to fail :O");
|
||||
|
||||
Reference in new issue
Block a user