API Reference
formatGlobMatches
function formatGlobMatches(paths): string;Defined in: tools/builtin/file-read.ts:133
Render glob matches into the single text block handed to the model.
Parameters
| Parameter | Type | Description |
|---|---|---|
paths | string[] | The matching paths returned by a FileReadBackend. |
Returns
string
One path per line, or "No files matched." when empty.
Remarks
One path per line; an empty result set yields a clear note instead of an empty string.