Skip to main content

rename_in_workspace

Function rename_in_workspace 

Source
async fn rename_in_workspace(
    state: &AppState,
    workspace: PathBuf,
    raw: String,
    name: String,
) -> Result<String, (StatusCode, String)>
Expand description

A container agent’s rename: raw is renamed where it lies in workspace (its /workspace on the host), and the answer is the container’s own name for the new path.