Skip to main content

_diffctx/config/
fragmentation.rs

1use once_cell::sync::Lazy;
2
3pub struct FragmentationConfig {
4    pub binary_detection_buffer_size: usize,
5    pub generated_marker_header_lines: usize,
6}
7
8impl Default for FragmentationConfig {
9    fn default() -> Self {
10        Self {
11            binary_detection_buffer_size: 8192,
12            generated_marker_header_lines: 10,
13        }
14    }
15}
16
17pub static FRAGMENTATION: Lazy<FragmentationConfig> = Lazy::new(FragmentationConfig::default);