Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DirtyDiffModel

Hierarchy

  • DirtyDiffModel

Implements

  • Disposable

Index

Constructors

Properties

currentContent: undefined | ContentLines
editor: TextEditor
enabled: boolean = true
onDirtyDiffUpdate: Event<DirtyDiffUpdate> = ...
onDirtyDiffUpdateEmitter: Emitter<DirtyDiffUpdate> = ...
preferences: GitPreferences
previousContent: undefined | ContentLines
previousRevision: PreviousFileRevision
staged: boolean
toDispose: DisposableCollection = ...
updateTimeout: undefined | number

Accessors

  • get linesLimit(): number

Methods

  • dispose(): void
  • getPreviousRevisionContent(): Promise<undefined | ContentLines>
  • handleDocumentChanged(document: TextEditorDocument): void
  • handlePreferenceChange(event: PreferenceChangeEvent<GitConfiguration>): Promise<void>
  • isInGitRepository(repository: undefined | Repository): Promise<boolean>
  • shouldRender(): boolean
  • update(): void