pub fn shadow_request<S: AsRef<OsStr>>(
shadow: &Path,
cwd: &Path,
arguments: &[S],
) -> GitRequestExpand description
What:
A request running arguments against the shadow:
--git-dir=<shadow>,
hooks pointed
at an absent directory,
redirecting variables removed,
in cwd.
Why:
Every cli-git shadow command looks the same;
the caller adds input or variables.
In TS you’d write (pseudocode):
runShadowGit({ gitPath, shadowPath, args, cwd })