Theia API Documentation v1.75.0
    Preparing search index...
    interface GraphCommitInput {
        colorIndex?: number;
        id: string;
        parentIds?: readonly string[];
    }
    Index

    Properties

    colorIndex?: number

    Ref-based color index resolved from the commit's references (0 = current ref, 1 = remote ref, 2 = base ref). When set, it colors this row and propagates down the first-parent chain, mirroring VS Code's scm graph color map.

    id: string
    parentIds?: readonly string[]