| 1 | import { Buffer } from 'node:buffer' |
| 2 | |
| 3 | export interface WebdavClientOptions { |
| 4 | url: string // base WebDAV URL (e.g. https://host/remote.php/dav/) |
| 5 | username: string |
| 6 | password: string |
| 7 | fetch?: typeof fetch // injectable for tests; defaults to global fetch |
| 8 | } |
| 9 | |
| 10 | export interface WebdavClient { |
| 11 | put: (path: string, body: string) => Promise<void> |
nothing calls this directly
no outgoing calls
no test coverage detected