Envelope Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Interface FormatPathsOpts

    Options for formatting paths.

    Corresponds to the Rust FormatPathsOpts struct in format.rs

    interface FormatPathsOpts {
        indent: boolean;
        elementFormat: PathElementFormat;
        lastElementOnly: boolean;
    }
    Index

    Properties

    indent: boolean

    Whether to indent each path element. If true, each element will be indented by 4 spaces per level. Default: true

    elementFormat: PathElementFormat

    Format for each path element. Default: Summary(None)

    lastElementOnly: boolean

    If true, only the last element of each path will be formatted. This is useful for displaying only the final destination of a path. If false, all elements will be formatted. Default: false