Crate junk

Source
Expand description

Filter out OS junk files like .DS_Store and Thumbs.db

§Examples

use junk;

junk::is(".test.swp"); // Check if filename is junk.
junk::not(".test.swp"); // Check if filename is not junk.

Statics§

REGEX
Regex used for matching junk files.

Functions§

is
Returns true if filename matches a junk file.
not
Returns true if filename doesn’t match a junk file.