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

Method GrepRaw

pkg/backends/protocol.go:81–81  ·  view source on GitHub ↗

GrepRaw 正则表达式搜索 pattern: 正则表达式模式 path: 搜索路径(文件或目录) glob: 文件名匹配模式(如 "*.go") 返回: 匹配结果列表

(ctx context.Context, pattern, path, glob string)

Source from the content-addressed store, hash-verified

79 // glob: 文件名匹配模式(如 "*.go")
80 // 返回: 匹配结果列表
81 GrepRaw(ctx context.Context, pattern, path, glob string) ([]GrepMatch, error)
82
83 // GlobInfo Glob 模式匹配
84 // pattern: Glob 模式(如 "**/*.go")

Callers 3

ExecuteMethod · 0.65
SearchMethod · 0.65
GrepRawMethod · 0.65

Implementers 5

mockBackendpkg/middleware/agent_memory_test.go
FilesystemBackendpkg/backends/filesystem.go
StoreBackendpkg/backends/store_backend.go
CompositeBackendpkg/backends/composite.go
StateBackendpkg/backends/state.go

Calls

no outgoing calls

Tested by

no test coverage detected