Skip to main content

is_test_path

Function is_test_path 

Source
pub fn is_test_path(path: &Path) -> bool
Expand description

Whether path names a test file by the conventions of the languages jscpd compares. path starts at the compared folder itself (tests/copy.rs when the folder is tests/), so a folder given on the command line counts as well as the folders below it.