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

    Interface SourceControlHistoryProvider

    interface SourceControlHistoryProvider {
        currentHistoryItemBaseRef?: SourceControlHistoryItemRef;
        currentHistoryItemRef?: SourceControlHistoryItemRef;
        currentHistoryItemRemoteRef?: SourceControlHistoryItemRef;
        onDidChangeCurrentHistoryItemRefs: Event<void>;
        onDidChangeHistoryItemRefs: Event<SourceControlHistoryItemRefsChangeEvent>;
        provideHistoryItemChanges(
            historyItemId: string,
            historyItemParentId: undefined | string,
            token: CancellationToken,
        ): ProviderResult<SourceControlHistoryItemChange[]>;
        provideHistoryItemRefs(
            historyItemRefs: undefined | string[],
            token: CancellationToken,
        ): ProviderResult<SourceControlHistoryItemRef[]>;
        provideHistoryItems(
            options: SourceControlHistoryOptions,
            token: CancellationToken,
        ): ProviderResult<SourceControlHistoryItem[]>;
        resolveHistoryItem(
            historyItemId: string,
            token: CancellationToken,
        ): ProviderResult<SourceControlHistoryItem>;
        resolveHistoryItemRefsCommonAncestor(
            historyItemRefs: string[],
            token: CancellationToken,
        ): ProviderResult<string>;
    }
    Index

    Properties

    currentHistoryItemBaseRef?: SourceControlHistoryItemRef
    currentHistoryItemRef?: SourceControlHistoryItemRef
    currentHistoryItemRemoteRef?: SourceControlHistoryItemRef
    onDidChangeCurrentHistoryItemRefs: Event<void>
    onDidChangeHistoryItemRefs: Event<SourceControlHistoryItemRefsChangeEvent>

    Methods