Method Glob
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
Glob(string, string?)
Finds files by glob pattern and returns recent matches first.
public string Glob(string pattern, string? path = null)Parameters
patternstring-
The glob pattern to match, such as
**/*.cs. pathstring?-
The directory to search, or the working directory when omitted.
Returns
- string
-
A newline-delimited list of agent-facing paths and file sizes, or a no-match message.