Skip to main content

main_worktree_message

Function main_worktree_message 

Source
pub fn main_worktree_message(command: GuardedCommand) -> &'static str
Expand description

What: The rejection text for a command run in the main worktree. Why: The text says what the command could destroy and where to run it instead.

In TS you’d write (pseudocode):

function mainWorktreeMessage({ command }): string;