Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Execute
Method · 0.65
createBackup
Method · 0.65
Execute
Method · 0.65
createBackup
Method · 0.65
TestLocalSandbox_FS
Function · 0.65
evictLargeResults
Method · 0.65
TestBackendIntegration
Function · 0.65
TestCorsMiddleware
Function · 0.65
Start
Method · 0.65
Update
Method · 0.65
Delete
Method · 0.65
hashContent
Function · 0.65
Implementers
6
RealFS
pkg/tools/builtin/testutils.go
MockFS
pkg/sandbox/mock.go
LocalFS
pkg/sandbox/local_fs.go
RemoteFS
pkg/sandbox/remote.go
AliyunFS
pkg/sandbox/cloud/aliyun.go
VolcengineFS
pkg/sandbox/cloud/volcengine.go
Calls
no outgoing calls
Tested by
3
TestLocalSandbox_FS
Function · 0.52
TestBackendIntegration
Function · 0.52
TestCorsMiddleware
Function · 0.52