dircat 0.5.2

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
// src/constants.rs

/// Header prepended to the generated output file.
pub const OUTPUT_FILE_HEADER: &str = "";

/// Separator used before the summary section.
pub const SUMMARY_SEPARATOR: &str = "---";

/// Prefix for the summary header line.
pub const SUMMARY_HEADER_PREFIX: &str = "Processed Files";

/// Default width for formatting line numbers. Actual width adjusts dynamically.
pub const DEFAULT_LINE_NUMBER_WIDTH: usize = 5;

// Add other constants as needed, e.g., default buffer sizes, etc.