Fix dead_code warning in studio crate

- Add #[allow(dead_code)] to GitWorktree::list() method
This commit is contained in:
Dhanji R. Prasanna
2026-01-27 13:09:56 +11:00
parent 755acabd47
commit 585684a86e

View File

@@ -154,6 +154,7 @@ impl GitWorktree {
} }
/// List all worktrees /// List all worktrees
#[allow(dead_code)]
pub fn list(&self) -> Result<Vec<String>> { pub fn list(&self) -> Result<Vec<String>> {
let output = Command::new("git") let output = Command::new("git")
.current_dir(&self.repo_root) .current_dir(&self.repo_root)