Fix dead_code warning in studio crate
- Add #[allow(dead_code)] to GitWorktree::list() method
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user