add refs to blob

This commit is contained in:
grimhilt
2023-08-11 18:21:00 +02:00
parent 16dbd25168
commit 4b12edbe5c
3 changed files with 119 additions and 42 deletions

View File

@@ -117,6 +117,13 @@ pub fn objects() -> PathBuf {
path
}
pub fn refs() -> PathBuf {
let mut path = repo_root();
path.push(".nextsync");
path.push("refs");
path
}
pub fn nextsyncignore() -> Option<PathBuf> {
let mut path = repo_root();
path.push(".nextsyncignore");