repo2post - v0.1.1
    Preparing search index...

    Interface CollectOptions

    Options for collectChanges.

    interface CollectOptions {
        cwd?: string;
        from?: string;
        includeDiff?: boolean;
        maxCommits?: number;
        maxLinesPerFile?: number;
        maxTotalLines?: number;
        to?: string;
    }
    Index

    Properties

    cwd?: string

    Working directory of the repository. Defaults to process.cwd().

    from?: string

    Start ref (exclusive). If omitted, uses the previous tag, else the root.

    includeDiff?: boolean

    Capture and shape the actual patch. Default true.

    maxCommits?: number

    Cap on commits collected (newest first). Default 200.

    maxLinesPerFile?: number

    Per-file diff line cap (forwarded to shapeDiff). Default 200.

    maxTotalLines?: number

    Total diff line cap (forwarded to shapeDiff). Default 1500.

    to?: string

    End ref (inclusive). Defaults to HEAD.