MCPcopy Create free account

hub / github.com/libgit2/pygit2 / functions

Functions1,514 in github.com/libgit2/pygit2

Functionlibgit2_callback
(f: Callable[P, T])
pygit2/callbacks.py:496
Functionlibgit2_callback_void
(f: Callable[P, T])
pygit2/callbacks.py:517
Methodlines_in_hunk
Number of lines
pygit2/blame.py:64
Functionmergerepo
(tmp_path: Path)
test/conftest.py:72
Methodmessage
Retrieve git's prepared message. Operations such as git revert/cherry-pick/merge with the -n option stop just short of creat
pygit2/repository.py:1081
Methodmwindow_file_limit
Get or set the maximum number of files to be mapped at any time
pygit2/settings.py:109
Methodmwindow_mapped_limit
Get or set the maximum memory that will be mapped in total by the library
pygit2/settings.py:97
Methodmwindow_size
Get or set the maximum mmap window size
pygit2/settings.py:88
Methodname
The entry's name.
pygit2/config.py:377
Methodname
Name of the submodule.
pygit2/submodules.py:139
Methodname
Name of the remote
pygit2/remotes.py:157
Methodnattrs
(cls)
pygit2/filter.py:69
Functionnew_content
()
test/test_apply_diff.py:42
Functionnew_git_strarray
()
pygit2/utils.py:107
Methodobjects
(self)
pygit2/references.py:107
Functionodb
(barerepo: Repository)
test/test_odb.py:58
Functionodb_path
(barerepo: Repository)
test/test_odb_backend.py:48
Methodoid
(self)
pygit2/index.py:448
Functionold_content
(testrepo: Repository)
test/test_apply_diff.py:49
Methodorig_commit_id
(self)
pygit2/blame.py:101
Methodorig_committer
Original committer
pygit2/blame.py:96
Methodorig_path
Original path
pygit2/blame.py:107
Methodorig_start_line_number
Origin start line number
pygit2/blame.py:91
Functionorigin
(tmp_path: Path)
test/test_remote.py:374
Methodowner_validation
Get or set repository directory ownership validation
pygit2/settings.py:298
Methodpack_all_objects
(pack_builder)
pygit2/repository.py:173
Methodpack_max_objects
Get or set the maximum number of objects in a pack
pygit2/settings.py:289
Functionpassthrough_filter
()
test/test_filter.py:76
Functionpatch_diff
(testrepo: Repository, new_content: str)
test/test_apply_diff.py:55
Methodpath
Path of the submodule.
pygit2/submodules.py:145
Functionpgit_odb_backend_exists
src/odb_backend.c:175
Functionpgit_odb_backend_exists_prefix
src/odb_backend.c:193
Functionpgit_odb_backend_foreach
src/odb_backend.c:220
Functionpgit_odb_backend_free
src/odb_backend.c:239
Functionpgit_odb_backend_read
src/odb_backend.c:59
Functionpgit_odb_backend_read_header
src/odb_backend.c:132
Functionpgit_odb_backend_read_prefix
src/odb_backend.c:94
Functionpgit_odb_backend_refresh
src/odb_backend.c:212
Functionpgit_odb_backend_write
src/odb_backend.c:157
Functionproxy
(barerepo: Repository)
test/test_odb_backend.py:105
Methodptr
(self)
pygit2/utils.py:183
Methodpush_negotiation
(self, updates: list[PushUpdate])
test/test_remote.py:467
Methodpush_negotiation
During a push, called once between the negotiation step and the upload. Provides information about what updates will be performed.
pygit2/callbacks.py:201
Methodpush_refspecs
Refspecs that will be used for pushing
pygit2/remotes.py:335
Methodpush_transfer_progress
( self, objects_pushed: int, total_objects: int, bytes_pushed: int )
test/test_remote.py:435
Methodpush_transfer_progress
During the upload portion of a push, this will be regularly called with progress information. Be aware that this is called i
pygit2/callbacks.py:223
Methodpush_update_reference
Push update reference callback. Override with your own function to report the remote's acceptance or rejection of reference updates.
pygit2/callbacks.py:253
Methodpush_url
Push url of the remote
pygit2/remotes.py:169
Functionpygit2_empty_key
()
test/conftest.py:26
Functionpygit2_filter_check
src/filter.c:406
Functionpygit2_filter_cleanup
src/filter.c:542
Functionpygit2_filter_shutdown
src/filter.c:551
Functionpygit2_filter_stream
src/filter.c:503
Functionpygit2_filter_stream_close
src/filter.c:294
Functionpygit2_filter_stream_free
src/filter.c:325
Functionpygit2_filter_stream_write
src/filter.c:269
Functionpygit2_refdb_backend_compress
src/refdb_backend.c:293
Functionpygit2_refdb_backend_del
src/refdb_backend.c:275
Functionpygit2_refdb_backend_ensure_log
src/refdb_backend.c:327
Functionpygit2_refdb_backend_exists
src/refdb_backend.c:156
Functionpygit2_refdb_backend_free
src/refdb_backend.c:386
Functionpygit2_refdb_backend_has_log
src/refdb_backend.c:301
Functionpygit2_refdb_backend_iterator
src/refdb_backend.c:132
Functionpygit2_refdb_backend_lookup
src/refdb_backend.c:179
Functionpygit2_refdb_backend_reflog_delete
src/refdb_backend.c:379
Functionpygit2_refdb_backend_reflog_read
src/refdb_backend.c:353
Functionpygit2_refdb_backend_reflog_rename
src/refdb_backend.c:371
Functionpygit2_refdb_backend_reflog_write
src/refdb_backend.c:364
Functionpygit2_refdb_backend_rename
src/refdb_backend.c:242
Functionpygit2_refdb_backend_write
src/refdb_backend.c:207
Functionpygit2_refdb_iterator_free
src/refdb_backend.c:124
Functionpygit2_refdb_iterator_next
src/refdb_backend.c:88
Functionpygit2_refdb_iterator_next_name
src/refdb_backend.c:106
Methodraw_message
Retrieve git's prepared message (bytes). See `Repository.message` for more information.
pygit2/repository.py:1065
Methodraw_name
(self)
pygit2/config.py:364
Methodraw_value
(self)
pygit2/config.py:368
Methodread
read(oid) -> type, data, size Read raw object data from the repository.
pygit2/repository.py:135
Methodread_cb
(self, oid: Oid | str)
test/test_odb_backend.py:75
Methodread_header_cb
(self, oid: Oid | str)
test/test_odb_backend.py:81
Methodread_prefix_cb
(self, oid: Oid | str)
test/test_odb_backend.py:78
Methodreadable
(self)
pygit2/blob.py:51
Methodreadinto
(self, b, /)
pygit2/blob.py:60
Methodrefresh_cb
(self)
test/test_odb_backend.py:91
Methodrefspec_count
Total number of refspecs in this remote
pygit2/remotes.py:315
Functionremote
(origin: Repository, clone: Repository)
test/test_remote.py:388
Methodremove
Remove a reference. The reference must be locked first via lock_ref(). Args: refname: Name of the reference to remove
pygit2/transaction.py:157
Functionrepo
(tmp_path: Path)
test/test_remote_utf8.py:37
Functionrepo
(tmp_path: Path)
test/test_diff_binary.py:39
Functionrepo
(emptyrepo: Repository)
test/test_branch_empty.py:37
Functionrepo
(tmp_path: Path)
test/test_submodule.py:48
Functionrepo
(testrepopacked: Repository)
test/test_repository_custom.py:37
Functionrepo
(barerepo: Repository)
test/test_odb_backend.py:150
Functionrepo
(tmp_path: Path)
test/test_commit_trailer.py:38
Functionrepo
(testrepo: Repository)
test/test_refdb_backend.py:82
Functionrmtree
In Windows a read-only file cannot be removed, and shutil.rmtree fails. So we implement our own version of rmtree to address this issue.
test/utils.py:98
Functionrot13_filter
()
test/test_filter.py:71
Methodrun
(self)
setup.py:124
Methodsearch_path
Configuration file search path. This behaves like an array whose indices correspond to ConfigLevel values. The local search path cann
pygit2/settings.py:79
Methodseekable
(self)
pygit2/blob.py:57
Methodserver_connect_timeout
Get or set the server connection timeout in milliseconds
pygit2/settings.py:333
← previousnext →801–900 of 1,514, ranked by callers