From 1e744239cbe61f9ba9c8b4e79fc4027d0864af9b Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Sat, 25 May 2019 01:34:50 +0200 Subject: [PATCH] Document Repo::new_for_path --- rust-bindings/rust/src/repo.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust-bindings/rust/src/repo.rs b/rust-bindings/rust/src/repo.rs index 6a7c5933..219b5f77 100644 --- a/rust-bindings/rust/src/repo.rs +++ b/rust-bindings/rust/src/repo.rs @@ -35,6 +35,7 @@ unsafe fn from_glib_container_variant_set(ptr: *mut glib_sys::GHashTable) -> Has } impl Repo { + /// Create a new `Repo` object for working with an OSTree repo at the given path. pub fn new_for_path>(path: P) -> Repo { Repo::new(&gio::File::new_for_path(path.as_ref())) }