Skip to main content

capture_invocation_layout

Function capture_invocation_layout 

Source
pub fn capture_invocation_layout(
    context: &GitContext,
    cwd: &Path,
    amend: bool,
) -> Result<InvocationLayout, GitFailure>
Expand description

What: Captures every invocation fact except the preparation base, before any Git mutation. Why: One layout request reports the paths, and the independent probes follow it.

In TS you’d write (pseudocode):

await captureInvocationLayout({ gitPath, cwd, amend });