pub fn remove_shadow_repository(shadow: &Path) -> Result<(), RecoveryError>Expand description
What:
Remove a shadow repository,
treating an absent one as removed.
Why:
removeShadowRepository:
a shadow never outlives its transaction directory.
In TS you’d write (pseudocode):
await rm(shadowPath, { recursive: true, force: true });