OSTree.Remote¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class OSTree.Remote¶
This represents the configuration for a single remote repository. Currently, remotes can only be passed around as (reference counted) opaque handles. In future, more API may be added to create and interrogate them.
New in version 2018.6.
- get_name()¶
- Returns:
remote’s name
- Return type:
Get the human-readable name of the remote. This is what the user configured, if the remote was explicitly configured; and will otherwise be a stable, arbitrary, string.
New in version 2018.6.
- get_url()¶
-
Get the URL from the remote.
New in version 2018.6.
- ref()¶
- Returns:
a copy of self, for convenience
- Return type:
Increase the reference count on the given self.
New in version 2018.6.
- unref()¶
Decrease the reference count on the given self and free it if the reference count reaches 0.
New in version 2018.6.