Ggit.RemoteCallbacks

g GObject.Object GObject.Object Ggit.RemoteCallbacks Ggit.RemoteCallbacks GObject.Object->Ggit.RemoteCallbacks

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)
  do_completion (type)
  do_credentials (url, username_from_url, allowed_types)
  do_progress (message)
  do_transfer_progress (stats)
  do_update_tips (refname, a, b)

Properties

None

Signals

Inherited:GObject.Object (1)
Name Short Description
completion  
progress  
transfer-progress  
update-tips  

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance GObject.Object r  

Class Details

class Ggit.RemoteCallbacks(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:Ggit.RemoteCallbacksClass

Represents a git remote callbacks.

do_completion(type) virtual
Parameters:type (Ggit.RemoteCompletionType) –
do_credentials(url, username_from_url, allowed_types) virtual
Parameters:
  • url (str) – the url.
  • username_from_url (str or None) – the username extracted from the url.
  • allowed_types (Ggit.Credtype) – the allowed credential types.
Returns:

a Ggit.Cred or None in case of an error.

Return type:

Ggit.Cred or None

do_progress(message) virtual
Parameters:message (str) –
do_transfer_progress(stats) virtual
Parameters:stats (Ggit.TransferProgress) –
do_update_tips(refname, a, b) virtual
Parameters:

Signal Details

Ggit.RemoteCallbacks.signals.completion(remote_callbacks, object)
Signal Name:

completion

Flags:

RUN_LAST

Parameters:
Ggit.RemoteCallbacks.signals.progress(remote_callbacks, object)
Signal Name:

progress

Flags:

RUN_LAST

Parameters:
Ggit.RemoteCallbacks.signals.transfer_progress(remote_callbacks, object)
Signal Name:

transfer-progress

Flags:

RUN_LAST

Parameters:
Ggit.RemoteCallbacks.signals.update_tips(remote_callbacks, object, p0, p1)
Signal Name:

update-tips

Flags:

RUN_LAST

Parameters: