pub fn list_shared_paths(
context: &GitContext,
shadow: &Path,
cwd: &Path,
merge_base: &str,
current: &str,
prepared: &str,
) -> Result<Vec<SharedPath>, SharedPathError>Expand description
What: Lists the paths both the landed history and the prepared commit changed since the preparation base, in the landed listing’s order, with the three entries. Why: The landed listing decides the order subsumption and the synthetic base follow.
In TS you’d write (pseudocode):
await listSharedPaths({ gitPath, shadowPath, mergeBase, current, prepared });