dircat 1.0.0

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
//! Defines global constants used throughout the application.

/// A global header prepended to the start of the generated output.
pub const OUTPUT_FILE_HEADER: &str = "";

/// The separator used before the summary section in the output.
pub const SUMMARY_SEPARATOR: &str = "---";

/// The prefix for the summary header line, which is followed by the file count.
pub const SUMMARY_HEADER_PREFIX: &str = "Processed Files";

/// The default minimum width for formatting line numbers. The actual width adjusts dynamically.
pub const DEFAULT_LINE_NUMBER_WIDTH: usize = 5;

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