Skip to main content

write_worktree_symbol

Function write_worktree_symbol 

Source
pub(crate) fn write_worktree_symbol(
    f: &mut Formatter<'_>,
    state: Option<&WorktreeState>,
    dimmed: bool,
) -> Result
Expand description

Write a worktree state symbol directly to the formatter, avoiding .to_string() allocations.