webdav: rename MoveAll to Move

This commit is contained in:
Simon Ser
2024-01-18 13:22:19 +01:00
parent 4493704689
commit 790ebfc5f8
3 changed files with 5 additions and 5 deletions

View File

@@ -278,8 +278,8 @@ func (c *Client) Copy(ctx context.Context, name, dest string, options *CopyOptio
return nil
}
// MoveAll moves a file.
func (c *Client) MoveAll(ctx context.Context, name, dest string, overwrite bool) error {
// Move moves a file.
func (c *Client) Move(ctx context.Context, name, dest string, overwrite bool) error {
req, err := c.ic.NewRequest("MOVE", name, nil)
if err != nil {
return err