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

Function Glob

client-sdks/python-bridge/aster.py:249–260  ·  view source on GitHub ↗

文件模式匹配 Args: pattern: Glob 模式 path: 搜索路径 Returns: 匹配的文件路径列表

(pattern: str, path: str = ".")

Source from the content-addressed store, hash-verified

247
248
249async def Glob(pattern: str, path: str = ".") -> list:
250 """
251 文件模式匹配
252
253 Args:
254 pattern: Glob 模式
255 path: 搜索路径
256
257 Returns:
258 匹配的文件路径列表
259 """
260 return await _bridge.call_tool("Glob", pattern=pattern, path=path)
261
262
263async def Grep(pattern: str, path: str = ".", glob: Optional[str] = None) -> Any:

Callers

nothing calls this directly

Calls 1

call_toolMethod · 0.80

Tested by

no test coverage detected