pub(crate) fn write_worktree_symbol( f: &mut Formatter<'_>, state: Option<&WorktreeState>, dimmed: bool, ) -> Result
Write a worktree state symbol directly to the formatter, avoiding .to_string() allocations.
.to_string()