Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ functions
Functions
1,514 in github.com/libgit2/pygit2
⨍
Functions
1,514
◇
Types & classes
153
↳
Endpoints
3
Function
libgit2_callback
(f: Callable[P, T])
pygit2/callbacks.py:496
Function
libgit2_callback_void
(f: Callable[P, T])
pygit2/callbacks.py:517
Method
lines_in_hunk
Number of lines
pygit2/blame.py:64
Function
mergerepo
(tmp_path: Path)
test/conftest.py:72
Method
message
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
Method
mwindow_file_limit
Get or set the maximum number of files to be mapped at any time
pygit2/settings.py:109
Method
mwindow_mapped_limit
Get or set the maximum memory that will be mapped in total by the library
pygit2/settings.py:97
Method
mwindow_size
Get or set the maximum mmap window size
pygit2/settings.py:88
Method
name
The entry's name.
pygit2/config.py:377
Method
name
Name of the submodule.
pygit2/submodules.py:139
Method
name
Name of the remote
pygit2/remotes.py:157
Method
nattrs
(cls)
pygit2/filter.py:69
Function
new_content
()
test/test_apply_diff.py:42
Function
new_git_strarray
()
pygit2/utils.py:107
Method
objects
(self)
pygit2/references.py:107
Function
odb
(barerepo: Repository)
test/test_odb.py:58
Function
odb_path
(barerepo: Repository)
test/test_odb_backend.py:48
Method
oid
(self)
pygit2/index.py:448
Function
old_content
(testrepo: Repository)
test/test_apply_diff.py:49
Method
orig_commit_id
(self)
pygit2/blame.py:101
Method
orig_committer
Original committer
pygit2/blame.py:96
Method
orig_path
Original path
pygit2/blame.py:107
Method
orig_start_line_number
Origin start line number
pygit2/blame.py:91
Function
origin
(tmp_path: Path)
test/test_remote.py:374
Method
owner_validation
Get or set repository directory ownership validation
pygit2/settings.py:298
Method
pack_all_objects
(pack_builder)
pygit2/repository.py:173
Method
pack_max_objects
Get or set the maximum number of objects in a pack
pygit2/settings.py:289
Function
passthrough_filter
()
test/test_filter.py:76
Function
patch_diff
(testrepo: Repository, new_content: str)
test/test_apply_diff.py:55
Method
path
Path of the submodule.
pygit2/submodules.py:145
Function
pgit_odb_backend_exists
src/odb_backend.c:175
Function
pgit_odb_backend_exists_prefix
src/odb_backend.c:193
Function
pgit_odb_backend_foreach
src/odb_backend.c:220
Function
pgit_odb_backend_free
src/odb_backend.c:239
Function
pgit_odb_backend_read
src/odb_backend.c:59
Function
pgit_odb_backend_read_header
src/odb_backend.c:132
Function
pgit_odb_backend_read_prefix
src/odb_backend.c:94
Function
pgit_odb_backend_refresh
src/odb_backend.c:212
Function
pgit_odb_backend_write
src/odb_backend.c:157
Function
proxy
(barerepo: Repository)
test/test_odb_backend.py:105
Method
ptr
(self)
pygit2/utils.py:183
Method
push_negotiation
(self, updates: list[PushUpdate])
test/test_remote.py:467
Method
push_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
Method
push_refspecs
Refspecs that will be used for pushing
pygit2/remotes.py:335
Method
push_transfer_progress
( self, objects_pushed: int, total_objects: int, bytes_pushed: int )
test/test_remote.py:435
Method
push_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
Method
push_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
Method
push_url
Push url of the remote
pygit2/remotes.py:169
Function
pygit2_empty_key
()
test/conftest.py:26
Function
pygit2_filter_check
src/filter.c:406
Function
pygit2_filter_cleanup
src/filter.c:542
Function
pygit2_filter_shutdown
src/filter.c:551
Function
pygit2_filter_stream
src/filter.c:503
Function
pygit2_filter_stream_close
src/filter.c:294
Function
pygit2_filter_stream_free
src/filter.c:325
Function
pygit2_filter_stream_write
src/filter.c:269
Function
pygit2_refdb_backend_compress
src/refdb_backend.c:293
Function
pygit2_refdb_backend_del
src/refdb_backend.c:275
Function
pygit2_refdb_backend_ensure_log
src/refdb_backend.c:327
Function
pygit2_refdb_backend_exists
src/refdb_backend.c:156
Function
pygit2_refdb_backend_free
src/refdb_backend.c:386
Function
pygit2_refdb_backend_has_log
src/refdb_backend.c:301
Function
pygit2_refdb_backend_iterator
src/refdb_backend.c:132
Function
pygit2_refdb_backend_lookup
src/refdb_backend.c:179
Function
pygit2_refdb_backend_reflog_delete
src/refdb_backend.c:379
Function
pygit2_refdb_backend_reflog_read
src/refdb_backend.c:353
Function
pygit2_refdb_backend_reflog_rename
src/refdb_backend.c:371
Function
pygit2_refdb_backend_reflog_write
src/refdb_backend.c:364
Function
pygit2_refdb_backend_rename
src/refdb_backend.c:242
Function
pygit2_refdb_backend_write
src/refdb_backend.c:207
Function
pygit2_refdb_iterator_free
src/refdb_backend.c:124
Function
pygit2_refdb_iterator_next
src/refdb_backend.c:88
Function
pygit2_refdb_iterator_next_name
src/refdb_backend.c:106
Method
raw_message
Retrieve git's prepared message (bytes). See `Repository.message` for more information.
pygit2/repository.py:1065
Method
raw_name
(self)
pygit2/config.py:364
Method
raw_value
(self)
pygit2/config.py:368
Method
read
read(oid) -> type, data, size Read raw object data from the repository.
pygit2/repository.py:135
Method
read_cb
(self, oid: Oid | str)
test/test_odb_backend.py:75
Method
read_header_cb
(self, oid: Oid | str)
test/test_odb_backend.py:81
Method
read_prefix_cb
(self, oid: Oid | str)
test/test_odb_backend.py:78
Method
readable
(self)
pygit2/blob.py:51
Method
readinto
(self, b, /)
pygit2/blob.py:60
Method
refresh_cb
(self)
test/test_odb_backend.py:91
Method
refspec_count
Total number of refspecs in this remote
pygit2/remotes.py:315
Function
remote
(origin: Repository, clone: Repository)
test/test_remote.py:388
Method
remove
Remove a reference. The reference must be locked first via lock_ref(). Args: refname: Name of the reference to remove
pygit2/transaction.py:157
Function
repo
(tmp_path: Path)
test/test_remote_utf8.py:37
Function
repo
(tmp_path: Path)
test/test_diff_binary.py:39
Function
repo
(emptyrepo: Repository)
test/test_branch_empty.py:37
Function
repo
(tmp_path: Path)
test/test_submodule.py:48
Function
repo
(testrepopacked: Repository)
test/test_repository_custom.py:37
Function
repo
(barerepo: Repository)
test/test_odb_backend.py:150
Function
repo
(tmp_path: Path)
test/test_commit_trailer.py:38
Function
repo
(testrepo: Repository)
test/test_refdb_backend.py:82
Function
rmtree
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
Function
rot13_filter
()
test/test_filter.py:71
Method
run
(self)
setup.py:124
Method
search_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
Method
seekable
(self)
pygit2/blob.py:57
Method
server_connect_timeout
Get or set the server connection timeout in milliseconds
pygit2/settings.py:333
← previous
next →
801–900 of 1,514, ranked by callers