Ggit.FetchOptions

Fields

None

Methods

class

new ()

copy ()

free ()

get_download_tags ()

get_remote_callbacks ()

set_download_tags (download_tags)

set_remote_callbacks (callbacks)

Details

class Ggit.FetchOptions

Represents a git fetch options.

classmethod new()
Returns:

a newly allocated Ggit.FetchOptions.

Return type:

Ggit.FetchOptions

Creates a new Ggit.FetchOptions.

copy()
Returns:

a newly allocated Ggit.FetchOptions or None.

Return type:

Ggit.FetchOptions or None

Copies self into a newly allocated Ggit.FetchOptions.

free()

Frees self.

get_download_tags()
Returns:

a Ggit.RemoteDownloadTagsType.

Return type:

Ggit.RemoteDownloadTagsType

Get how tags are being handled when fetching/downloading.

get_remote_callbacks()
Returns:

the remote callbacks or None.

Return type:

Ggit.RemoteCallbacks or None

Get the remote callbacks object or None if not set.

set_download_tags(download_tags)
Parameters:

download_tags (Ggit.RemoteDownloadTagsType) – a Ggit.RemoteDownloadTagsType.

Set how tags are being handled when fetching/downloading.

set_remote_callbacks(callbacks)
Parameters:

callbacks (Ggit.RemoteCallbacks or None) – a Ggit.RemoteCallbacks or None.

Set the fetch options object.