Skip to main content

Module filters

Module filters 

Source

Enums§

SkipReason

Functions§

exceeds_size_limit
Check if a file exceeds the size limit
is_binary_content
Check if a file is binary by reading its content Returns true if the file appears to be binary (contains null bytes in first 8KB)
is_binary_extension
Check if a file extension indicates a binary file
is_secret_file
Check if a filename matches secret patterns