Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ Read
Method
Read
pkg/sandbox/interface.go:40–40 ·
view source on GitHub ↗
Read 读取文件内容
(ctx context.Context, path string)
Source
from the content-addressed store, hash-verified
38
39
// Read 读取文件内容
40
Read(ctx context.Context, path string) (string, error)
41
42
// Write 写入文件内容
43
Write(ctx context.Context, path string, content string) error
Callers
15
Execute
Method · 0.65
Execute
Method · 0.65
Execute
Method · 0.65
randomString
Function · 0.65
TestLocalSandbox_FS
Function · 0.65
OnAgentStart
Method · 0.65
TestBackendIntegration
Function · 0.65
generateID
Function · 0.65
Load
Method · 0.65
Get
Method · 0.65
Update
Method · 0.65
ReadFile
Method · 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
2
TestLocalSandbox_FS
Function · 0.52
TestBackendIntegration
Function · 0.52