aboutsummaryrefslogtreecommitdiff
path: root/supergit/src/raw
diff options
context:
space:
mode:
authorKaiden Fey <kookie@spacekookie.de>2020-10-26 00:08:17 +0100
committerKaiden Fey <kookie@spacekookie.de>2020-10-26 00:08:17 +0100
commitaadac179feea5bcdab8e27683be376028ac4df9c (patch)
treec82ef3d34b54f20ee9c53d0a0dc5bfab33239132 /supergit/src/raw
parent63cd5d0a8d3f77c0267f12a6aef52533cc2f7d09 (diff)
Adding some libgit2 utilities
Diffstat (limited to 'supergit/src/raw')
-rw-r--r--supergit/src/raw/#tree_walk.rs#1
l---------supergit/src/raw/.#tree_walk.rs1
-rw-r--r--supergit/src/raw/branch_walk.rs1
-rw-r--r--supergit/src/raw/mod.rs3
-rw-r--r--supergit/src/raw/tree_walk.rs1
5 files changed, 7 insertions, 0 deletions
diff --git a/supergit/src/raw/#tree_walk.rs# b/supergit/src/raw/#tree_walk.rs#
new file mode 100644
index 0000000..a693f62
--- /dev/null
+++ b/supergit/src/raw/#tree_walk.rs#
@@ -0,0 +1 @@
+//! Walk the file tree for a particular commit \ No newline at end of file
diff --git a/supergit/src/raw/.#tree_walk.rs b/supergit/src/raw/.#tree_walk.rs
new file mode 120000
index 0000000..a0d2666
--- /dev/null
+++ b/supergit/src/raw/.#tree_walk.rs
@@ -0,0 +1 @@
+spacekookie@qq.53166 \ No newline at end of file
diff --git a/supergit/src/raw/branch_walk.rs b/supergit/src/raw/branch_walk.rs
new file mode 100644
index 0000000..dfc7485
--- /dev/null
+++ b/supergit/src/raw/branch_walk.rs
@@ -0,0 +1 @@
+//! Walk along a branch parsing commit metadata
diff --git a/supergit/src/raw/mod.rs b/supergit/src/raw/mod.rs
index b2f67a4..98602ca 100644
--- a/supergit/src/raw/mod.rs
+++ b/supergit/src/raw/mod.rs
@@ -1,5 +1,8 @@
//! Raw representation wrappers for libgit2
+mod branch_walk;
+mod tree_walk;
+
use git2::{self, Repository};
pub(crate) type RawResult<T> = Result<T, RawError>;
diff --git a/supergit/src/raw/tree_walk.rs b/supergit/src/raw/tree_walk.rs
new file mode 100644
index 0000000..0533764
--- /dev/null
+++ b/supergit/src/raw/tree_walk.rs
@@ -0,0 +1 @@
+//! Walk the file tree for a particular commit