Module configuration

Module configuration 

Source
Expand description

This module defines the Code2PromptConfig struct and its Builder for configuring the behavior of code2prompt in a stateless manner. It includes all parameters needed for file traversal, code filtering, token counting, and more.

Structs§

Code2PromptConfig
A stateless configuration object describing all the preferences and filters applied when generating a code prompt. It does not store any mutable data, so it can be cloned freely or shared across multiple sessions.
Code2PromptConfigBuilder
Builder for Code2PromptConfig.

Enums§

Code2PromptConfigBuilderError
Error type for Code2PromptConfigBuilder