webdav rename

This commit is contained in:
royalcat 2024-12-09 23:44:23 +03:00
parent b77ce50a7b
commit 94ca4cf599

View file

@ -51,7 +51,7 @@ func (wd *WebDAV) RemoveAll(ctx context.Context, name string) error {
}
func (wd *WebDAV) Rename(ctx context.Context, oldName, newName string) error {
return webdav.ErrNotImplemented
return wd.fs.Rename(ctx, oldName, newName)
}
func (wd *WebDAV) lookupFile(ctx context.Context, name string) (vfs.File, error) {