Skip to main content

Crate fusefiles

Crate fusefiles 

Source
Expand description

fusefiles: Concatenate a directory full of files into a single prompt for use with LLMs

This crate provides functionality to recursively process files and directories, concatenating their contents with various output formats suitable for LLM prompts.

Re-exports§

pub use file_processor::FileProcessor;
pub use output::DefaultFormatter;
pub use output::MarkdownFormatter;
pub use output::OutputFormatter;
pub use output::XmlFormatter;
pub use tree::TreeGenerator;
pub use tree::TreeNode;

Modules§

cli
Command-line interface implementation using clap
extensions
File extension to language mapping for syntax highlighting
file_processor
Core file processing and directory traversal logic
ignore
Custom ignore pattern handling built around glob matching.
output
Output formatting modules for different output formats
tree
Tree generation for directory structure visualization
utils
Utility functions for file processing and input/output

Enums§

FilesToPromptError
Main error type for the fusefiles application
TocMode
Table of contents mode for tree generation

Type Aliases§

Result
Result type alias for the fusefiles application