Theia API Documentation v1.77.0
    Preparing search index...

    Interface ScmHistoryProvider

    interface ScmHistoryProvider {
        currentHistoryItemBaseRef?: ScmHistoryItemRef;
        currentHistoryItemRef?: ScmHistoryItemRef;
        currentHistoryItemRemoteRef?: ScmHistoryItemRef;
        onDidChangeCurrentHistoryItemRefs: Event<void>;
        onDidChangeHistoryItemRefs: Event<ScmHistoryItemRefsChangeEvent>;
        provideHistoryItemChanges(
            historyItemId: string,
            historyItemParentId: string | undefined,
            token: CancellationToken,
        ): Promise<ScmHistoryItemChange[] | undefined>;
        provideHistoryItemRefs(
            historyItemRefs: string[] | undefined,
            token: CancellationToken,
        ): Promise<ScmHistoryItemRef[] | undefined>;
        provideHistoryItems(
            options: ScmHistoryOptions,
            token: CancellationToken,
        ): Promise<ScmHistoryItem[] | undefined>;
        resolveHistoryItem(
            historyItemId: string,
            token: CancellationToken,
        ): Promise<ScmHistoryItem | undefined>;
        resolveHistoryItemRefsCommonAncestor(
            historyItemRefs: string[],
            token: CancellationToken,
        ): Promise<string | undefined>;
    }

    Implemented by

    Index
    currentHistoryItemBaseRef?: ScmHistoryItemRef
    currentHistoryItemRef?: ScmHistoryItemRef
    currentHistoryItemRemoteRef?: ScmHistoryItemRef
    onDidChangeCurrentHistoryItemRefs: Event<void>
    onDidChangeHistoryItemRefs: Event<ScmHistoryItemRefsChangeEvent>