pub fn archive_workspace(
root: &Path,
platform: &Platform,
authenticated_user: &str,
body: &[u8],
) -> (u16, String)Expand description
Handles POST /api/workspace/archive. The live checkout is moved to a
recoverable same-filesystem archive before the durable view operation.
A sequencing refusal restores the live path.