MCPcopy Create free account
hub / github.com/AI45Lab/Code / read_text

Method read_text

core/src/workspace/s3.rs:502–505  ·  view source on GitHub ↗
(&self, path: &WorkspacePath)

Source from the content-addressed store, hash-verified

500#[async_trait]
501impl WorkspaceFileSystem for S3WorkspaceBackend {
502 async fn read_text(&self, path: &WorkspacePath) -> WorkspaceResult<String> {
503 let (content, _etag) = self.get_object_text(path).await?;
504 Ok(content)
505 }
506
507 async fn write_text(
508 &self,

Callers 1

grepMethod · 0.45

Calls 1

get_object_textMethod · 0.80

Tested by

no test coverage detected