SourceControl class
An source control is able to provide {@link SourceControlResourceStateresource states} to the editor and interact with the editor in several source control related ways.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
SourceControl({String? id, String? label, Uri? rootUri, SourceControlInputBox? inputBox, num? count, QuickDiffProvider? quickDiffProvider, String? commitTemplate, Command? acceptInputCommand, List<
Command> ? statusBarCommands, SourceControlResourceGroup createResourceGroup(String, String)?, void dispose()?}) -
factory
Properties
- acceptInputCommand ↔ Command?
-
Available on SourceControl, provided by the SourceControl$Typings extension
Optional accept input command.getter/setter pair - commitTemplate ↔ String?
-
Available on SourceControl, provided by the SourceControl$Typings extension
Optional commit template string.getter/setter pair - count ↔ num?
-
Available on SourceControl, provided by the SourceControl$Typings extension
The UI-visible count of {@link SourceControlResourceState resource states} of this source control.getter/setter pair - createResourceGroup ↔ SourceControlResourceGroup Function(String, String)
-
Available on SourceControl, provided by the SourceControl$Typings extension
getter/setter pair - dispose ↔ void Function()
-
Available on SourceControl, provided by the SourceControl$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on SourceControl, provided by the SourceControl$Typings extension
The id of this source control.no setter - inputBox → SourceControlInputBox
-
Available on SourceControl, provided by the SourceControl$Typings extension
The {@link SourceControlInputBoxinput box} for this source control.no setter - label → String
-
Available on SourceControl, provided by the SourceControl$Typings extension
The human-readable label of this source control.no setter - quickDiffProvider ↔ QuickDiffProvider?
-
Available on SourceControl, provided by the SourceControl$Typings extension
An optional {@link QuickDiffProvider quick diff provider}.getter/setter pair - rootUri → Uri?
-
Available on SourceControl, provided by the SourceControl$Typings extension
The (optional) Uri of the root of this source control.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusBarCommands
↔ List<
Command> ? -
Available on SourceControl, provided by the SourceControl$Typings extension
Optional status bar commands.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited