From aadac179feea5bcdab8e27683be376028ac4df9c Mon Sep 17 00:00:00 2001 From: Kaiden Fey Date: Mon, 26 Oct 2020 00:08:17 +0100 Subject: Adding some libgit2 utilities --- supergit/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'supergit/src/lib.rs') diff --git a/supergit/src/lib.rs b/supergit/src/lib.rs index 3e02d30..e209fac 100644 --- a/supergit/src/lib.rs +++ b/supergit/src/lib.rs @@ -7,6 +7,9 @@ pub use branch::{Branch, BranchCommit}; mod commit; pub use commit::{CommitId, Commit}; +mod diff; +pub use diff::Diff; + pub(crate) mod raw; use std::sync::atomic::{AtomicUsize, Ordering}; @@ -25,7 +28,7 @@ impl Repository { /// basically every time your program expects changes to have /// happened. Polling this function is not recommended. pub fn sync(&self) { - + todo!() } } -- cgit v1.2.3