backend.rs: library for frontends.rs until split occurs

This commit is contained in:
Emma Tebibyte 2025-08-08 19:59:14 -06:00
parent cffe1525e0
commit caa6f98caa
Signed by: emma
GPG Key ID: 427287A2F16F44FA
2 changed files with 1 additions and 11 deletions

View File

@ -7,10 +7,6 @@ edition = "2024"
name = "frontend"
path = "src/frontend.rs"
[[bin]]
name = "backend"
path = "src/backend.rs"
[dependencies]
git2 = "0.20.2"
serde = { version = "1.0.219", default-features = false, features = ["derive"] }

View File

@ -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(())
}