(parts: {
name: string
folderPath?: string | null
})
| 102 | * `workspace-vfs.ts` (`workflows/{folder}/{name}` or `workflows/{name}`). |
| 103 | */ |
| 104 | export function canonicalWorkflowVfsDir(parts: { |
| 105 | name: string |
| 106 | folderPath?: string | null |
| 107 | }): string { |
| 108 | const safeName = encodeVfsSegment(parts.name) |
| 109 | return parts.folderPath ? `workflows/${parts.folderPath}/${safeName}` : `workflows/${safeName}` |
| 110 | } |
| 111 | |
| 112 | /** Canonical VFS path for a table's metadata file (`tables/{name}/meta.json`). */ |
| 113 | export function canonicalTableVfsPath(name: string): string { |
no test coverage detected