MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / joinPath

Function joinPath

apps/web/src/lib/file-utils.ts:164–166  ·  view source on GitHub ↗
(dir: string, name: string)

Source from the content-addressed store, hash-verified

162}
163
164export function joinPath(dir: string, name: string): string {
165 return dir.endsWith('/') ? `${dir}${name}` : `${dir}/${name}`
166}

Callers 2

handleUploadFunction · 0.90
handleSubmitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected