Skip to main content

Module workspace

Module workspace 

Source
Expand description

Directory / worktree hybrid segment.

  • Inside a linked git worktree: {repo}/{worktree_name}
  • Any other repo kind or outside git: project-dir basename
  • Project dir has no usable basename: hidden

Worktree name comes from DataContext::git (gix discovery) rather than the stdin passthrough, so every git-aware segment agrees on one source of truth.

Structs§

WorkspaceSegment