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

Function encodeVfsPathSegments

apps/sim/lib/copilot/vfs/path-utils.ts:37–39  ·  view source on GitHub ↗
(segments: string[])

Source from the content-addressed store, hash-verified

35}
36
37export function encodeVfsPathSegments(segments: string[]): string {
38 return segments.map(encodeVfsSegment).join('/')
39}
40
41export function decodeVfsPathSegments(path: string): string[] {
42 const trimmed = path.trim().replace(/^\/+|\/+$/g, '')

Callers 10

resolveInputFilesFunction · 0.90
lookupFolderIdByPathFunction · 0.90
executeManageFolderFunction · 0.90
path-utils.test.tsFile · 0.90
buildWorkflowAliasLinksFunction · 0.90
materializeWorkflowsMethod · 0.90
materializeFilesMethod · 0.90
canonicalizeVfsPathFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected