Skip to main content

action_workdir

Function action_workdir 

Source
pub fn action_workdir(ctx: &ActionContext<'_>) -> PathBuf
Expand description

active_workdir for an action handler, which carries the services rather than the handles.

Returns the working directory when either service is missing (a harness that wired neither), which is what magit did everywhere before MR.4 — the operation still runs, in the process’s repository.