MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Remove

Method Remove

drivers/webdav/driver.go:112–114  ·  view source on GitHub ↗
(ctx context.Context, obj model.Obj)

Source from the content-addressed store, hash-verified

110}
111
112func (d *WebDav) Remove(ctx context.Context, obj model.Obj) error {
113 return d.client.RemoveAll(getPath(obj))
114}
115
116func (d *WebDav) Put(ctx context.Context, dstDir model.Obj, s model.FileStreamer, up driver.UpdateProgress) error {
117 callback := func(r *http.Request) {

Callers

nothing calls this directly

Calls 2

getPathFunction · 0.85
RemoveAllMethod · 0.65

Tested by

no test coverage detected