Skip to main content

list_labeled_for_worktree

Function list_labeled_for_worktree 

Source
pub fn list_labeled_for_worktree(
    repo: &mut Repository,
    worktree: &str,
) -> Result<Vec<String>>
Expand description

List all labeled stash entries belonging to worktree.

Used by the prune command (PR-4) to warn about orphaned stashes before a worktree is removed.