MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / update_workspace

Method update_workspace

atomic-remote/src/storage.rs:298–304  ·  view source on GitHub ↗

Update an existing workspace.

(
        &self,
        slug: &str,
        req: &UpdateWorkspaceRequest,
    )

Source from the content-addressed store, hash-verified

296
297 /// Update an existing workspace.
298 pub async fn update_workspace(
299 &self,
300 slug: &str,
301 req: &UpdateWorkspaceRequest,
302 ) -> Result<WorkspaceInfo, RemoteError> {
303 self.put(&format!("/workspaces/{}", slug), req).await
304 }
305
306 /// Delete a workspace by slug.
307 pub async fn delete_workspace(&self, slug: &str) -> Result<(), RemoteError> {

Callers 1

runMethod · 0.80

Calls 1

putMethod · 0.80

Tested by

no test coverage detected