mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 12:25:29 +01: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)
|
|
}
|