Docs.rs
trash_lib-0.1.0
trash_lib 0.1.0
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
crates.io
Source
Owners
oberblastmeister
Dependencies
chrono ^0.4.15
normal
directories ^3.0.1
normal
fs_extra ^1.2.0
normal
log ^0.4.11
normal
once_cell ^1.4.1
normal
percent-encoding ^2.1.0
normal
snafu ^0.6.8
normal
anyhow ^1.0.32
dev
tempfile ^3.1.0
dev
Versions
11.61%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
trash_
lib
0.1.0
All Items
Crate Items
Modules
Macros
Enums
Constants
Statics
Functions
Crate
trash_lib
Copy item path
Source
Modules
§
percent_
path
trash_
entry
trash_
info
Macros
§
ok_log
Enums
§
Error
Constants
§
DIR_
COPY_
OPT
FILE_
COPY_
OPT
TRASH_
INFO_
EXT
Statics
§
TRASH_
DIR
TRASH_
FILE_
DIR
TRASH_
INFO_
DIR
Functions
§
empty
Removes all trash_entries and optionally removes stray files.
put
Put a list of paths into the trash and returns the newly created trash_entries. Will panic if the paths are empty!
remove
Helper function
restore
Helper function