Remove unused fn

This commit is contained in:
Lucas Schumacher 2024-02-03 22:40:37 -05:00
parent 9cdeb1225b
commit 5ce0650379

View File

@ -1,18 +1,8 @@
extern crate prost_build; extern crate prost_build;
use prost_build::compile_protos; use prost_build::compile_protos;
use std::path::Path;
fn update_repo(path: &Path) -> Result<(), git2::Error> {
let repo = Repository::open(path)?;
let mut remote = repo.find_remote("origin")?;
let refspecs: [&str; 0] = [];
remote.fetch(&refspecs, None, None)
}
fn main() { fn main() {
let path = Path::new("protobufs");
let protos = &["protobufs/meshtastic/mesh.proto"]; let protos = &["protobufs/meshtastic/mesh.proto"];
let includes = &["protobufs"]; let includes = &["protobufs"];