Display branch information per worktree root

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
Petros Amoiridis
2023-05-08 14:33:58 -07:00
committed by Mikayla Maki
co-authored by Mikayla Maki
parent ffd9d4eb59
commit d34ec462f8
2 changed files with 54 additions and 19 deletions
+4
View File
@@ -1484,6 +1484,10 @@ impl Snapshot {
pub fn inode_for_path(&self, path: impl AsRef<Path>) -> Option<u64> {
self.entry_for_path(path.as_ref()).map(|e| e.inode)
}
pub fn git_branch(&self) -> Option<String> {
Some("test".to_owned())
}
}
impl LocalSnapshot {