createSourceControl
fun createSourceControl(id: String, label: String, rootUri: Uri = definedExternally): SourceControl(source)
Creates a new source control instance.
Parameters
id
An id
for the source control. Something short, e.g.: git
.
label
A human-readable string for the source control. E.g.: Git
.
rootUri
An optional Uri of the root of the source control. E.g.: Uri.parse(workspaceRoot)
.