mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:14:24 +08:00
10 lines
228 B
Go
10 lines
228 B
Go
package src
|
|
|
|
// EmptyTrash will permanently delete all trashed files/folders from Yandex Disk
|
|
func (c *Client) EmptyTrash() error {
|
|
fullURL := RootAddr
|
|
fullURL += "/v1/disk/trash/resources"
|
|
|
|
return c.PerformDelete(fullURL)
|
|
}
|