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

    Constructors

    Properties

    _entries: HistoryGraphEntry[] = []
    _hasAttemptedLoad: boolean = false
    _hasMore: boolean = false
    _loading: boolean = false
    _provider: undefined | ScmHistoryProvider
    cancelSource: CancellationTokenSource = ...
    onDidChange: Event<void> = ...
    onDidChangeEmitter: Emitter<void> = ...
    scmService: ScmService
    toDispose: DisposableCollection = ...
    toDisposeOnProviderChange: DisposableCollection = ...

    Accessors

    • get hasAttemptedLoad(): boolean

      Returns true once the model has completed at least one load attempt (regardless of whether history items were found). This is used by the widget to distinguish "still initializing" from "no history".

      Returns boolean

    Methods

    • Returns the revisions of the current branch ref, its remote tracking ref, and the merge-base ref to pass to provideHistoryItems. Providers walk history starting from these revisions.

      Returns string[]