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

Method Stat

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

Stat 获取文件状态

(ctx context.Context, path string)

Source from the content-addressed store, hash-verified

47
48 // Stat 获取文件状态
49 Stat(ctx context.Context, path string) (FileInfo, error)
50
51 // Glob 文件匹配
52 Glob(ctx context.Context, pattern string, opts *GlobOptions) ([]string, error)

Callers 15

cleanupFilesMethod · 0.65
TestToolCache_FileCacheFunction · 0.65
ExistsMethod · 0.65
ExistsMethod · 0.65
ExecuteMethod · 0.65
FileExistsMethod · 0.65
StatMethod · 0.65
AssertFileExistsFunction · 0.65
AssertFileNotExistsFunction · 0.65
StatMethod · 0.65
execWithLimitsMethod · 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