dircat 0.5.1

High-performance Rust utility that concatenates and displays directory contents, similar to the C++ DirCat.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// src/filtering/mod.rs

// Declare the sub-modules within the filtering module
mod extension;
mod file_type;
mod lockfile;
mod process_last;
mod size;
mod text_detection;

// Re-export the functions needed by other parts of the crate (like discovery)
// Use pub(crate) to make them accessible within the crate but not outside.
pub(crate) use extension::passes_extension_filters;
pub(crate) use file_type::is_file_type;
pub(crate) use lockfile::is_lockfile;
pub(crate) use process_last::check_process_last;
pub(crate) use size::passes_size_filter;
pub(crate) use text_detection::{is_likely_text, is_likely_text_from_buffer};