Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
9
export
function
normalizeVfsSegment(name: string): string {
10
return
encodeVfsSegment(name)
11
}
Callers
12
resolveScheduledTaskResource
Function · 0.90
resolveFolderPath
Function · 0.90
workflowVfsPath
Function · 0.90
folderPath
Function · 0.90
workflowPlansBackingFolderPath
Function · 0.90
workspacePlansBackingFolderPath
Function · 0.90
workflowAliasTargetForPath
Function · 0.90
isWorkflowAliasBackingPath
Function · 0.90
materializeWorkflows
Method · 0.90
materializeFiles
Method · 0.90
sanitizeName
Function · 0.90
findWorkspaceFileRecord
Function · 0.90
Calls
1
encodeVfsSegment
Function · 0.90
Tested by
no test coverage detected