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

Method update_workspace

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

Update an existing workspace.

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

Source from the content-addressed store, hash-verified

269
270 /// Update an existing workspace.
271 pub async fn update_workspace(
272 &self,
273 slug: &str,
274 req: &UpdateWorkspaceRequest,
275 ) -> Result<WorkspaceInfo, RemoteError> {
276 self.put(&format!("/workspaces/{}", slug), req).await
277 }
278
279 /// Delete a workspace by slug.
280 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