MCPcopy Create free account
hub / github.com/astercloud/aster / Write

Method Write

pkg/sandbox/interface.go:43–43  ·  view source on GitHub ↗

Write 写入文件内容

(ctx context.Context, path string, content string)

Source from the content-addressed store, hash-verified

41
42 // Write 写入文件内容
43 Write(ctx context.Context, path string, content string) error
44
45 // Temp 生成临时文件路径
46 Temp(name string) string

Callers 15

ExecuteMethod · 0.65
createBackupMethod · 0.65
ExecuteMethod · 0.65
createBackupMethod · 0.65
TestLocalSandbox_FSFunction · 0.65
evictLargeResultsMethod · 0.65
TestBackendIntegrationFunction · 0.65
TestCorsMiddlewareFunction · 0.65
StartMethod · 0.65
UpdateMethod · 0.65
DeleteMethod · 0.65
hashContentFunction · 0.65

Implementers 6

RealFSpkg/tools/builtin/testutils.go
MockFSpkg/sandbox/mock.go
LocalFSpkg/sandbox/local_fs.go
RemoteFSpkg/sandbox/remote.go
AliyunFSpkg/sandbox/cloud/aliyun.go
VolcengineFSpkg/sandbox/cloud/volcengine.go

Calls

no outgoing calls

Tested by 3

TestLocalSandbox_FSFunction · 0.52
TestBackendIntegrationFunction · 0.52
TestCorsMiddlewareFunction · 0.52