nextcloud-trashbin 0.1.3

Nextcloud Trashbin WebDAV API client and domain types
Documentation

nextcloud-trashbin

WebDAV trashbin management and file restoration client for Nextcloud.

Part of the nextcloud-rust-sdk workspace.

Installation

[dependencies]
nextcloud-trashbin = "0.1.2"

Features

  • TrashClient: Interacts with /remote.php/dav/trashbin/ endpoints.
  • TrashItem: Parsed deleted resource with original path, deletion timestamp, and size.
  • Restores deleted files with a single method call.

Example

use nextcloud_trashbin::TrashClient;

// Lists deleted files, restores items to original paths, and permanently purges trash

License

GNU General Public License v3.0 or later (GPL-3.0-or-later).