Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agegr/pi-web
/ joinFilePath
Function
joinFilePath
lib/file-paths.ts:41–43 ·
view source on GitHub ↗
(parent: string, child: string)
Source
from the content-addressed store, hash-verified
39
}
40
41
export
function
joinFilePath(parent: string, child: string): string {
42
return
`${normalizeFilePathSlashes(parent).replace(/\/$/,
""
)}/${child}`;
43
}
Callers
2
fetchEntries
Function · 0.90
FileExplorer.tsx
File · 0.90
Calls
1
normalizeFilePathSlashes
Function · 0.70
Tested by
no test coverage detected