MCPcopy Index your code
hub / github.com/simstudioai/sim / glob

Method glob

apps/sim/lib/copilot/vfs/workspace-vfs.ts:705–710  ·  view source on GitHub ↗
(pattern: string)

Source from the content-addressed store, hash-verified

703 }
704
705 glob(pattern: string): string[] {
706 // glob matches keys only, so it resolves no lazy content — it sees the full
707 // path structure (eager keys + lazy placeholders) for free.
708 const includeDeleted = pattern.startsWith('recently-deleted')
709 return ops.glob(this.keyView(includeDeleted), pattern)
710 }
711
712 async read(path: string, offset?: number, limit?: number): Promise<ReadResult | null> {
713 // Resolve the one lazy artifact being read into `files`; a no-op for eager

Callers 1

executeVfsGlobFunction · 0.80

Calls 1

keyViewMethod · 0.95

Tested by

no test coverage detected