EDataServer.SourceAutoconfig

g EDataServer.SourceAutoconfig EDataServer.SourceAutoconfig EDataServer.SourceExtension EDataServer.SourceExtension EDataServer.SourceExtension->EDataServer.SourceAutoconfig GObject.Object GObject.Object GObject.Object->EDataServer.SourceExtension

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:EDataServer.SourceExtension (1)
Name Type Flags Short Description
revision str r/w/c/en Identifier to map a particular version of a system-wide source to a user-specific source

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent EDataServer.SourceExtension r  

Class Details

class EDataServer.SourceAutoconfig(**kwargs)
Bases:EDataServer.SourceExtension
Abstract:No
Structure:EDataServer.SourceAutoconfigClass

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:str

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:str

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.

Property Details

EDataServer.SourceAutoconfig.props.revision
Name:revision
Type:str
Default Value:''
Flags:READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

Identifier to map a particular version of a system-wide source to a user-specific source