| 8 | } |
| 9 | |
| 10 | export 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, |
nothing calls this directly
no outgoing calls
no test coverage detected