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
Method
_pointer
(self)
pygit2/index.py:72
Function
_push_negotiation_cb
(updates, num_updates, data)
pygit2/callbacks.py:576
Function
_push_transfer_progress_cb
(current, total, bytes_pushed, payload)
pygit2/callbacks.py:648
Function
_push_update_reference_cb
(ref, msg, data)
pygit2/callbacks.py:589
Function
_remote_create_cb
(remote_out, repo, name, url, data)
pygit2/callbacks.py:601
Function
_repository_create_cb
(repo_out, path, bare, data)
pygit2/callbacks.py:615
Function
_sideband_progress_cb
(string, length, data)
pygit2/callbacks.py:625
Function
_stash_apply_progress_cb
(progress: StashApplyProgress, data: StashApplyCallbacks)
pygit2/callbacks.py:838
Function
_transfer_progress_cb
(stats_ptr, data)
pygit2/callbacks.py:636
Function
_update_tips_cb
(refname, a, b, data)
pygit2/callbacks.py:658
Method
add
Add a submodule to the index. The submodule is automatically cloned. Returns: the submodule that was added. Paramet
pygit2/submodules.py:219
Function
assertRaisesWithArg
( exc_class: type[Exception], arg: object, func: Callable[P, T], *args: P.args, **kwargs:
test/utils.py:145
Function
barerepo
(tmp_path: Path)
test/conftest.py:32
Function
barerepo_path
(tmp_path: Path)
test/conftest.py:38
Function
blameflagsrepo
(tmp_path: Path)
test/conftest.py:44
Function
blob_filter_stream_close
src/blob.c:201
Function
blob_filter_stream_free
src/blob.c:229
Function
blob_filter_stream_write
src/blob.c:160
Method
boundary
Tracked to a boundary commit
pygit2/blame.py:69
Method
branch
Branch that is to be tracked by the submodule.
pygit2/submodules.py:165
Function
buffered_filter
()
test/test_filter.py:81
Method
c_value
The raw ``cData`` entry value.
pygit2/config.py:359
Method
cached_memory
Get the current bytes in cache and the maximum that would be allowed in the cache.
pygit2/settings.py:118
Method
certificate_check
( self, certificate: None, valid: bool, host: str | bytes )
test/test_remote.py:349
Method
certificate_check
( self, certificate: None, valid: bool, host: bytes )
test/test_credentials.py:178
Method
check
(self, src: FilterSource, attr_values: list[str | None])
test/test_filter.py:50
Method
check
Check whether this filter should be applied to the given source. `check` will be called once per stream. If `Passthrough` i
pygit2/filter.py:72
Method
checkout_notify
( self, why: CheckoutNotify, path: str, baseline: Optional[Dif
test/test_repository.py:125
Method
checkout_notify
( self, why: CheckoutNotify, path: str, baseline: Optional[Dif
test/test_repository.py:562
Method
checkout_notify_flags
(self)
test/test_repository.py:122
Method
checkout_progress
( self, path: str, completed_steps: int, total_steps: int )
test/test_repository.py:138
Function
clone
(tmp_path: Path)
test/test_remote.py:380
Function
clonerepo
( testrepo: Repository, tmp_path: Path )
test/test_remote_prune.py:37
Method
close
Close this filter. `close()` will be called once per stream whenever all writes() to this stream have been completed.
pygit2/filter.py:109
Function
config
(testrepo: Repository)
test/test_config.py:39
Method
config
The configuration file for this repository. If a the configuration hasn't been set yet, the default config for repository will be ret
pygit2/repository.py:291
Method
config_snapshot
A snapshot for this repositiory's configuration This allows reads over multiple values to use the same version of the configuration f
pygit2/repository.py:305
Method
conflicts
A collection of conflict information If there are no conflicts None is returned. Otherwise return an object that represents the confl
pygit2/index.py:366
Method
create
(self, name: str, target: Oid | str, force: bool = False)
pygit2/references.py:97
Method
create
Create a new remote with the given name and url. Returns a <Remote> object. If 'fetch' is provided, this fetch refspec will be used i
pygit2/remotes.py:447
Function
create_remote
(repo: Repository, name: str, url: str)
test/test_repository.py:759
Function
create_repository
(path: Path, bare: bool)
test/test_repository.py:755
Function
create_transaction
()
test/test_transaction.py:259
Method
credential_tuple
(self)
pygit2/credentials.py:51
Method
credential_tuple
(self)
pygit2/credentials.py:76
Method
credential_tuple
( self, )
pygit2/credentials.py:125
Method
credential_type
(self)
pygit2/credentials.py:47
Method
credential_type
(self)
pygit2/credentials.py:72
Method
credential_type
(self)
pygit2/credentials.py:121
Method
credential_type
(self)
pygit2/credentials.py:143
Method
credentials
( self, url: str, username_from_url: str | None, allowed_types
test/test_credentials.py:142
Method
credentials
( self, url: str, username_from_url: str | None, allowed_types
test/test_repository.py:784
Method
credentials
Credentials callback. If the remote server requires authentication, this function will be called and its return value used for
pygit2/callbacks.py:151
Method
delete
(self, name: str)
pygit2/branches.py:89
Method
delete
(self, name: str)
pygit2/references.py:100
Method
delete
Remove a remote from the configuration All remote-tracking branches and configuration settings for the remote will be removed.
pygit2/remotes.py:501
Method
direction
Direction of this refspec (fetch or push)
pygit2/refspec.py:62
Function
dirtyrepo
(tmp_path: Path)
test/conftest.py:50
Method
dst
Destination or rhs of the refspec
pygit2/refspec.py:47
Function
emptyrepo
( barerepo: Repository, tmp_path: Path )
test/conftest.py:56
Method
enable_fsync_gitdir
Enable or disable fsync for git directory operations
pygit2/settings.py:263
Method
enable_http_expect_continue
Enable or disable HTTP Expect/Continue for large pushes
pygit2/settings.py:275
Method
enable_ofs_delta
Enable or disable offset delta encoding
pygit2/settings.py:259
Method
enable_strict_hash_verification
Enable or disable strict hash verification
pygit2/settings.py:267
Method
enable_strict_object_creation
Enable or disable strict object creation validation
pygit2/settings.py:251
Method
enable_strict_symbolic_ref_creation
Enable or disable strict symbolic reference creation validation
pygit2/settings.py:255
Method
enable_unsaved_index_safety
Enable or disable unsaved index safety checks
pygit2/settings.py:271
Function
encodingrepo
(tmp_path: Path)
test/conftest.py:66
Method
exclude
(line: str)
setup.py:59
Method
exists_cb
(self, oid: Oid | str)
test/test_odb_backend.py:85
Method
exists_prefix_cb
(self, oid: Oid | str)
test/test_odb_backend.py:88
Method
extensions
Get the list of enabled extensions
pygit2/settings.py:315
Method
fetch_refspecs
Refspecs that will be used for fetching
pygit2/remotes.py:326
Function
filter__write_next
src/filter.c:174
Function
filter_register
src/pygit2.c:299
Function
filter_unregister
Unregister the given filter. Note that the filter registry is not thread safe. Any registering or deregistering of filters should be don
pygit2/__init__.py:547
Method
final_commit_id
(self)
pygit2/blame.py:85
Method
final_committer
Final committer
pygit2/blame.py:80
Method
final_start_line_number
Final start line number
pygit2/blame.py:75
Method
force
Whether this refspeca llows non-fast-forward updates
pygit2/refspec.py:52
Function
force_rm_handle
( # Callable[..., Any], str, , object remove_path: Callable[..., Any], path_str: str, excinfo:
test/utils.py:87
Function
foreach_mergehead_cb
src/repository.c:2380
Function
foreach_path_cb
src/repository.c:1514
Function
foreach_stash_cb
src/repository.c:2323
Function
foreign_patch_diff
()
test/test_apply_diff.py:71
Function
free_module
src/pygit2.c:413
Function
gen_blob_sha1
(data: bytes)
test/utils.py:79
Method
get
(self, key: Oid | str, default: Optional[Commit] = None)
pygit2/repository.py:271
Method
get_file_list
(self)
setup.py:50
Method
get_xdg_config
Return a <Config> object representing the global configuration file.
pygit2/config.py:317
Function
global_git_config
()
test/conftest.py:13
Function
gpgsigned
(tmp_path: Path)
test/conftest.py:96
Function
hashfile
src/pygit2.c:147
Method
head_id
The submodule's HEAD commit id (as recorded in the superproject's current HEAD tree). Returns None if the superproject's HEAD
pygit2/submodules.py:171
Method
homedir
Get or set the home directory
pygit2/settings.py:324
Method
ident
(self)
pygit2/repository.py:1581
Method
index
Index representing the repository's index file.
pygit2/repository.py:774
Method
init
Initialize submodules in the repository. Just like "git submodule init", this copies information about the submodules into ".git/conf
pygit2/submodules.py:284
Method
isatty
(self)
pygit2/blob.py:48
Method
level
The entry's ``git_config_level_t`` value.
pygit2/config.py:372
← previous
next →
701–800 of 1,514, ranked by callers