MCPcopy
hub / github.com/MetaCubeX/metacubexd / WebdavClient

Interface WebdavClient

packages/agent/src/webdav.ts:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10export interface WebdavClient {
11 put: (path: string, body: string) => Promise<void>
12 get: (path: string) => Promise<string>
13 mkcol: (dir: string) => Promise<void> // tolerates "already exists" (405/301)
14}
15
16/**
17 * Join a base URL and a relative path with exactly one slash between them,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected