repo: change custom new method to std::path::Path-alike

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:53 -04:00
1 parent fa615fb1bb
commit f26e0013a5
2 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -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");