This library helps you detect commonly generated junk files like .DS_Store
or Thumbs.db
.
.DS_Store
and Thumbs.db
.If you discover new junk files, please consider reporting to the original junk project.
```rust use junk_file::*; use std::ffi::OsString;
asserteq!(isjunk("Thumbs.db"), true); asserteq!(isjunk(OsString::from(".DS_Store")), true); // also OsStr, OsString acceptable
asserteq!(isnotjunk("filename.txt"), true); asserteq!(isnotjunk(OsString::from("filename.txt")), true); ```
License: MIT OR Apache-2.0