Skip to main content

Module filter

Module filter 

Source
Expand description

File filter module.

Provides binary file detection, file size limits, and file type whitelist/blacklist filtering.

Functionsยง

is_binary_content
Check if content appears to be binary.
is_binary_file
Check if a file is likely a binary file by examining its content.
is_source_file
Check if a file has a recognized source code extension.
should_index_file
Check if a file should be included for indexing.