Skip to content

Commit

Permalink
Exclude Docker mounted directories by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNerma committed Jun 5, 2024
1 parent 27986ff commit c46feaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trasher"
version = "3.3.2"
version = "3.3.3"
authors = ["Clément Nerma <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
1 change: 1 addition & 0 deletions src/fsutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pub static ALWAYS_EXCLUDE_DIRS: &[&str] = &[
"/sbin",
"/snap",
"/sys",
"/var/lib/docker",
];

/// Determine path to the trash directory for a given item and create it if required
Expand Down

0 comments on commit c46feaf

Please sign in to comment.