Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
cleanupFiles
Method · 0.65
TestToolCache_FileCache
Function · 0.65
Exists
Method · 0.65
Exists
Method · 0.65
TestReadTool_SpecialFiles
Function · 0.65
Execute
Method · 0.65
FileExists
Method · 0.65
Stat
Method · 0.65
AssertFileExists
Function · 0.65
AssertFileNotExists
Function · 0.65
Stat
Method · 0.65
execWithLimits
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
10
TestToolCache_FileCache
Function · 0.52
TestReadTool_SpecialFiles
Function · 0.52
TestNewFilePreferenceStorage
Function · 0.52
TestFilePreferenceStorage_Save
Function · 0.52
TestFilePreferenceStorage_Delete
Function · 0.52
TestPersistentPreferenceManager_DeleteUser
Function · 0.52
TestPersistentPreferenceManager_SaveAll
Function · 0.52
TestPersistentPreferenceManager_AutoSave
Function · 0.52
TestDatabaseFileCreation
Function · 0.52
TestEnsureDir
Function · 0.52