pub fn is_binary_extension(path: &Path) -> boolExpand description
Check if a file path has a known binary extension
§Arguments
path- Path to check
§Returns
true if the file extension is in the known binary list
§Example
use infiniloom_engine::scanner::is_binary_extension;
use std::path::Path;
assert!(is_binary_extension(Path::new("image.png")));
assert!(is_binary_extension(Path::new("archive.zip")));
assert!(!is_binary_extension(Path::new("code.rs")));