MCPcopy Index your code
hub / github.com/codedogQBY/ReadAny / toCollectionPath

Function toCollectionPath

packages/core/src/sync/webdav-client.ts:91–94  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

89}
90
91function toCollectionPath(path: string): string {
92 if (path === "/") return "/";
93 return path.endsWith("/") ? path : `${path}/`;
94}
95
96function createHttpWebDavError(
97 status: number,

Callers 3

mkcolMethod · 0.85
ensureDirectoryMethod · 0.85
safeReadDirMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected