Foundry.VcsManager¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.VcsManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages VCS implementations provided by plugins.
- dup_vcs()¶
- Returns:
a [class`Foundry`.Vcs]
- Return type:
Foundry.VcsorNone
Get the active [class`Foundry`.Vcs].
- find_provider(module_name)¶
- Parameters:
module_name (
str) – the module name to match against plugin info- Returns:
a
Foundry.VcsProviderorNone- Return type:
Looks through available VCS providers to find one matching module_name.
The function matches providers by comparing module_name with the [property`Peas`.PluginInfo:module-name] of each provider’s plugin info.
New in version 1.1.
- find_vcs(vcs_id)¶
- Parameters:
vcs_id (
str) – an identifier matching aFoundry.Vcs:id- Returns:
a
Foundry.VcsorNone- Return type:
Foundry.VcsorNone
Looks through available vcss to find one matching vcs_id.
- set_vcs(vcs)¶
- Parameters:
vcs (
Foundry.Vcs) –
Property Details¶
- Foundry.VcsManager.props.vcs¶
- Name:
vcs- Type:
- Default Value:
- Flags: