backend.rs: library for frontends.rs until split occurs
This commit is contained in:
@@ -79,7 +79,7 @@ impl TryFrom<Commit<'_>> for GitCommit {
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct GitEntry {
|
||||
pub struct GitEntry {
|
||||
last_commit: GitCommit,
|
||||
path: String,
|
||||
}
|
||||
@@ -178,9 +178,3 @@ impl GitRepo {
|
||||
Ok(entries)
|
||||
}
|
||||
}
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
GitRepo::open(Path::new("/var/mintee/repos/silt/pingus").to_path_buf())?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user