Files
deb-python-pygit2/docs/remotes.rst
Carlos Martín Nieto 0bbd15b4f1 TransferProgress: create this type for transfer progress reporting
This gets passed to the transfer progress callback, instead of the
stripped-down version which Remote.fetch() returns.
2014-01-25 10:48:49 +01:00

1.9 KiB

Remotes

pygit2.Repository.remotes

pygit2.Repository.create_remote

The Remote type

pygit2.Remote.name

pygit2.Remote.url

pygit2.Remote.push_url

pygit2.Remote.refspec_count

pygit2.Remote.push_refspecs

pygit2.Remote.fetch_refspecs

pygit2.Remote.progress

pygit2.Remote.transfer_progress

pygit2.Remote.update_tips

pygit2.Remote.get_push_refspecs

pygit2.Remote.get_fetch_refspecs

pygit2.Remote.set_push_refspecs

pygit2.Remote.set_fetch_refspecs

pygit2.Remote.get_refspec

pygit2.Remote.fetch

pygit2.Remote.push

pygit2.Remote.save

The TransferProgress type

This class contains the data which is available to us during a fetch.

pygit2.TransferProgress.total_objects

pygit2.TransferProgress.indexed_objects

pygit2.TransferProgress.received_objects

pygit2.TransferProgress.local_objects

pygit2.TransferProgress.total_deltas

pygit2.TransferProgress.indexed_deltas

pygit2.TransferProgress.received_bytes

The Refspec type

pygit2.Refspec.direction

pygit2.Refspec.src

pygit2.Refspec.dst

pygit2.Refspec.force

pygit2.Refspec.string

pygit2.Refspec.src_matches

pygit2.Refspec.dst_matches

pygit2.Refspec.transform

pygit2.Refspec.rtransform