Delthin/moon_repomix/config does not have a README file

    ConfigError

    pub(all) suberror ConfigError {
    InvalidJson
    UnknownField(String)
    InvalidValue(String)
    UnknownOption(String)
    MissingValue(String)
    Conflict(String)
    MultipleDirectories
    } derive(Eq,
    Debug
    )

    Error payloads contain field/option names, never source JSON or values.

    ConfigError::equal

    fn ConfigError::equal(ConfigError, ConfigError) -> Bool

    ConfigError::not_equal

    fn ConfigError::not_equal(x : ConfigError, y : ConfigError) -> Bool

    Action

    pub(all) enum Action {
    Pack
    Init
    Help
    HelpAll
    Version
    } derive(Eq,
    Debug
    )

    Action::equal

    fn Action::equal(Action, Action) -> Bool

    Action::not_equal

    fn Action::not_equal(x : Action, y : Action) -> Bool

    Action::to_repr

    Cli

    pub(all) struct Cli {
    directory : String
    config_path : String?
    action : Action
    stdout : Bool
    stdin_mode : StdinMode
    explain_paths : Array[String]
    report_json : Bool
    mcp : Bool
    webui : Bool
    webui_port : Int
    mcp_max_tokens : Int
    mcp_max_output_bytes : Int
    mcp_max_volumes : Int
    quiet : Bool
    verbose : Bool
    patch : Patch
    } derive(
    Debug
    )

    All paths are unmodified user paths; this package performs no I/O.

    Cli::to_repr

    Options

    pub(all) struct Options {
    directory : String
    output : String
    stdout : Bool
    style : Style
    split_output : SplitOutput
    compress : Bool
    keep_full_patterns : Array[String]
    header_text : String
    instruction_file_path : String?
    full_metadata : Bool
    file_summary : Bool
    directory_structure : Bool
    include_files : Bool
    git_sections : Bool
    metadata : Bool
    show_line_numbers : Bool
    output_file_path_style : PathStyle
    include_diffs : Bool
    include_logs : Bool
    include_logs_count : Int
    remote : String?
    remote_branch : String?
    max_git_bytes : Int
    include_patterns : Array[String]
    file_paths : Array[String]?
    ignore : Array[String]
    use_gitignore : Bool
    use_dot_ignore : Bool
    use_default_patterns : Bool
    security_check : Bool
    encoding : String
    token_budget : Int?
    top_files_length : Int
    token_count_tree : TokenCountTree
    max_file_size : Int
    max_files : Int
    max_total_size : Int64
    tokenizer_path : String?
    quiet : Bool
    verbose : Bool
    } derive(
    Debug
    )

    Options::to_repr

    Patch

    pub(all) struct Patch {
    output : String?
    style : Style?
    split_output : SplitOutput?
    compress : Bool?
    keep_full_patterns : Array[String]
    header_text : String?
    instruction_file_path : String?
    full_metadata : Bool?
    file_summary : Bool?
    directory_structure : Bool?
    include_files : Bool?
    git_sections : Bool?
    metadata : Bool?
    show_line_numbers : Bool?
    output_file_path_style : PathStyle?
    include_diffs : Bool?
    include_logs : Bool?
    include_logs_count : Int?
    remote : String?
    remote_branch : String?
    max_git_bytes : Int?
    include_patterns : Array[String]
    ignore : Array[String]
    use_gitignore : Bool?
    use_dot_ignore : Bool?
    use_default_patterns : Bool?
    security_check : Bool?
    encoding : String?
    token_budget : Int?
    top_files_length : Int?
    token_count_tree : TokenCountTree?
    max_file_size : Int?
    max_files : Int?
    max_total_size : Int64?
    tokenizer_path : String?
    } derive(
    Debug
    )

    Absent scalars stay None; lists are additive, not replacement values.

    Patch::empty

    fn Patch::empty() -> Patch

    Patch::to_repr

    PathStyle

    pub(all) enum PathStyle {
    TargetRelative
    CwdRelative
    Absolute
    } derive(Eq,
    Debug
    )

    PathStyle::equal

    fn PathStyle::equal(PathStyle, PathStyle) -> Bool

    PathStyle::not_equal

    fn PathStyle::not_equal(x : PathStyle, y : PathStyle) -> Bool

    SplitOutput

    pub(all) enum SplitOutput {
    Disabled
    Enabled(Int)
    } derive(Eq,
    Debug
    )

    SplitOutput::equal

    fn SplitOutput::equal(SplitOutput, SplitOutput) -> Bool

    SplitOutput::not_equal

    fn SplitOutput::not_equal(x : SplitOutput, y : SplitOutput) -> Bool

    StdinMode

    pub(all) enum StdinMode {
    Off
    Lines
    Nul
    } derive(Eq,
    Debug
    )

    Explicit CLI file-list input. Configuration files never enable stdin reads.

    StdinMode::equal

    fn StdinMode::equal(StdinMode, StdinMode) -> Bool

    StdinMode::not_equal

    fn StdinMode::not_equal(x : StdinMode, y : StdinMode) -> Bool

    Style

    pub(all) enum Style {
    Xml
    Markdown
    Json
    Plain
    } derive(Eq,
    Debug
    )

    Style::equal

    fn Style::equal(Style, Style) -> Bool

    Style::not_equal

    fn Style::not_equal(x : Style, y : Style) -> Bool

    Style::to_repr

    TokenCountTree

    pub(all) enum TokenCountTree {
    Disabled
    Enabled(Int)
    } derive(Eq,
    Debug
    )

    CLI reporting only; thresholds use the sum of accepted file content tokens.

    TokenCountTree::equal

    TokenCountTree::not_equal

    fn TokenCountTree::not_equal(x : TokenCountTree, y : TokenCountTree) -> Bool

    parse_cli

    fn parse_cli(args : Array[String]) -> Cli raise ConfigError

    Arguments exclude argv[0]. Supports --key=value and -- to end option parsing.

    parse_file_list

    fn parse_file_list(text : String, nul? : Bool) -> Array[String] raise ConfigError

    Decode a literal file list without trimming filenames or interpreting globs. LF mode accepts CRLF; NUL mode preserves all CR/LF characters in a filename. Empty records are skipped. Some([]) remains an explicitly empty selection. The selection package validates paths and applies all exclusion layers.

    parse_json

    fn parse_json(text : String) -> Patch raise ConfigError

    Strict supported subset of Repomix JSON. No reads, path normalization or defaults.

    resolve

    fn resolve(cli : Cli, json : Patch?) -> Options raise ConfigError

    Defaults -> selected JSON -> explicit CLI. No paths are resolved here.

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io