Display branch information per worktree root
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
co-authored by
Mikayla Maki
parent
ffd9d4eb59
commit
d34ec462f8
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user