EDataServer.SourceAutoconfig¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c/en |
Identifier to map a particular version of a system-wide source to a user-specific source |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.SourceAutoconfig(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Contains only private data that should be read and manipulated using the functions below.
New in version 3.24.
- dup_revision()¶
- Returns:
a newly-allocated copy of
EDataServer.SourceAutoconfig
:revision
- Return type:
Thread-safe variation of
EDataServer.SourceAutoconfig.get_revision
(). Use this function when accessing self from multiple threads.The returned string should be freed with
GLib.free
() when no longer needed.New in version 3.24.
- get_revision()¶
- Returns:
revision of the data source
- Return type:
Returns the revision of a data source. This maps a particular version of a system-wide source to a user-specific source.
If doesn’t match, the system-wide source will be copied to the user-specific evolution config directory, preserving the already present fields that are not defined by the system-wide source.
If it matches, no copying is done.
New in version 3.24.
- set_revision(revision)¶
- Parameters:
revision (
str
) – a revision
Sets the revision used to map a particular version of a system-wide source to a user-specific source.
If doesn’t match, the system-wide source will be copied to the user-specific evolution config directory, preserving the already present fields that are not defined by the system-wide source.
If it matches, no copying is done.
The internal copy of revision is automatically stripped of leading and trailing whitespace.
New in version 3.24.