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

Method remove

drivers/febbox/util.go:215–229  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

213}
214
215func (d *FebBox) remove(id string) error {
216 queryParams := map[string]string{
217 "module": "file_delete",
218 "fids[]": id,
219 }
220
221 _, err := d.request("https://api.febbox.com/oauth", http.MethodPost, func(req *resty.Request) {
222 req.SetMultipartFormData(queryParams)
223 }, nil)
224 if err != nil {
225 return err
226 }
227
228 return nil
229}

Callers 1

RemoveMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected