feat: add option to delete storage media files

This commit is contained in:
Simon Ding
2024-12-11 21:09:00 +08:00
parent 22f76e3f57
commit 6d127c6d00
10 changed files with 60 additions and 13 deletions

View File

@@ -85,3 +85,7 @@ func (w *WebdavStorage) UploadProgress() float64 {
}
return w.progresser()
}
func (w *WebdavStorage) RemoveAll(path string) error {
return w.fs.RemoveAll(path)
}