MCPcopy
hub / github.com/simstudioai/sim / normalizeVfsSegment

Function normalizeVfsSegment

apps/sim/lib/copilot/vfs/normalize-segment.ts:9–11  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

7 * Slashes are encoded inside a segment, so callers must still join path segments with `/`.
8 */
9export function normalizeVfsSegment(name: string): string {
10 return encodeVfsSegment(name)
11}

Callers 12

resolveFolderPathFunction · 0.90
workflowVfsPathFunction · 0.90
folderPathFunction · 0.90
materializeWorkflowsMethod · 0.90
materializeFilesMethod · 0.90
sanitizeNameFunction · 0.90
findWorkspaceFileRecordFunction · 0.90

Calls 1

encodeVfsSegmentFunction · 0.90

Tested by

no test coverage detected