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

Function canonicalTableVfsPath

apps/sim/lib/copilot/vfs/path-utils.ts:113–115  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

111
112/** Canonical VFS path for a table's metadata file (`tables/{name}/meta.json`). */
113export function canonicalTableVfsPath(name: string): string {
114 return `tables/${encodeVfsSegment(name)}/meta.json`
115}
116
117/** Canonical VFS directory for a knowledge base (`knowledgebases/{name}`). */
118export function canonicalKnowledgeBaseVfsDir(name: string): string {

Callers 2

resolveTableResourceFunction · 0.90
path-utils.test.tsFile · 0.90

Calls 1

encodeVfsSegmentFunction · 0.85

Tested by

no test coverage detected