MCPcopy Create free account

hub / github.com/libgit2/pygit2 / functions

Functions1,514 in github.com/libgit2/pygit2

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
Methodadd
Add a submodule to the index. The submodule is automatically cloned. Returns: the submodule that was added. Paramet
pygit2/submodules.py:219
FunctionassertRaisesWithArg
( exc_class: type[Exception], arg: object, func: Callable[P, T], *args: P.args, **kwargs:
test/utils.py:145
Functionbarerepo
(tmp_path: Path)
test/conftest.py:32
Functionbarerepo_path
(tmp_path: Path)
test/conftest.py:38
Functionblameflagsrepo
(tmp_path: Path)
test/conftest.py:44
Functionblob_filter_stream_close
src/blob.c:201
Functionblob_filter_stream_free
src/blob.c:229
Functionblob_filter_stream_write
src/blob.c:160
Methodboundary
Tracked to a boundary commit
pygit2/blame.py:69
Methodbranch
Branch that is to be tracked by the submodule.
pygit2/submodules.py:165
Functionbuffered_filter
()
test/test_filter.py:81
Methodc_value
The raw ``cData`` entry value.
pygit2/config.py:359
Methodcached_memory
Get the current bytes in cache and the maximum that would be allowed in the cache.
pygit2/settings.py:118
Methodcertificate_check
( self, certificate: None, valid: bool, host: str | bytes )
test/test_remote.py:349
Methodcertificate_check
( self, certificate: None, valid: bool, host: bytes )
test/test_credentials.py:178
Methodcheck
(self, src: FilterSource, attr_values: list[str | None])
test/test_filter.py:50
Methodcheck
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
Methodcheckout_notify
( self, why: CheckoutNotify, path: str, baseline: Optional[Dif
test/test_repository.py:125
Methodcheckout_notify
( self, why: CheckoutNotify, path: str, baseline: Optional[Dif
test/test_repository.py:562
Methodcheckout_notify_flags
(self)
test/test_repository.py:122
Methodcheckout_progress
( self, path: str, completed_steps: int, total_steps: int )
test/test_repository.py:138
Functionclone
(tmp_path: Path)
test/test_remote.py:380
Functionclonerepo
( testrepo: Repository, tmp_path: Path )
test/test_remote_prune.py:37
Methodclose
Close this filter. `close()` will be called once per stream whenever all writes() to this stream have been completed.
pygit2/filter.py:109
Functionconfig
(testrepo: Repository)
test/test_config.py:39
Methodconfig
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
Methodconfig_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
Methodconflicts
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
Methodcreate
(self, name: str, target: Oid | str, force: bool = False)
pygit2/references.py:97
Methodcreate
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
Functioncreate_remote
(repo: Repository, name: str, url: str)
test/test_repository.py:759
Functioncreate_repository
(path: Path, bare: bool)
test/test_repository.py:755
Functioncreate_transaction
()
test/test_transaction.py:259
Methodcredential_tuple
(self)
pygit2/credentials.py:51
Methodcredential_tuple
(self)
pygit2/credentials.py:76
Methodcredential_tuple
( self, )
pygit2/credentials.py:125
Methodcredential_type
(self)
pygit2/credentials.py:47
Methodcredential_type
(self)
pygit2/credentials.py:72
Methodcredential_type
(self)
pygit2/credentials.py:121
Methodcredential_type
(self)
pygit2/credentials.py:143
Methodcredentials
( self, url: str, username_from_url: str | None, allowed_types
test/test_credentials.py:142
Methodcredentials
( self, url: str, username_from_url: str | None, allowed_types
test/test_repository.py:784
Methodcredentials
Credentials callback. If the remote server requires authentication, this function will be called and its return value used for
pygit2/callbacks.py:151
Methoddelete
(self, name: str)
pygit2/branches.py:89
Methoddelete
(self, name: str)
pygit2/references.py:100
Methoddelete
Remove a remote from the configuration All remote-tracking branches and configuration settings for the remote will be removed.
pygit2/remotes.py:501
Methoddirection
Direction of this refspec (fetch or push)
pygit2/refspec.py:62
Functiondirtyrepo
(tmp_path: Path)
test/conftest.py:50
Methoddst
Destination or rhs of the refspec
pygit2/refspec.py:47
Functionemptyrepo
( barerepo: Repository, tmp_path: Path )
test/conftest.py:56
Methodenable_fsync_gitdir
Enable or disable fsync for git directory operations
pygit2/settings.py:263
Methodenable_http_expect_continue
Enable or disable HTTP Expect/Continue for large pushes
pygit2/settings.py:275
Methodenable_ofs_delta
Enable or disable offset delta encoding
pygit2/settings.py:259
Methodenable_strict_hash_verification
Enable or disable strict hash verification
pygit2/settings.py:267
Methodenable_strict_object_creation
Enable or disable strict object creation validation
pygit2/settings.py:251
Methodenable_strict_symbolic_ref_creation
Enable or disable strict symbolic reference creation validation
pygit2/settings.py:255
Methodenable_unsaved_index_safety
Enable or disable unsaved index safety checks
pygit2/settings.py:271
Functionencodingrepo
(tmp_path: Path)
test/conftest.py:66
Methodexclude
(line: str)
setup.py:59
Methodexists_cb
(self, oid: Oid | str)
test/test_odb_backend.py:85
Methodexists_prefix_cb
(self, oid: Oid | str)
test/test_odb_backend.py:88
Methodextensions
Get the list of enabled extensions
pygit2/settings.py:315
Methodfetch_refspecs
Refspecs that will be used for fetching
pygit2/remotes.py:326
Functionfilter__write_next
src/filter.c:174
Functionfilter_register
src/pygit2.c:299
Functionfilter_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
Methodfinal_commit_id
(self)
pygit2/blame.py:85
Methodfinal_committer
Final committer
pygit2/blame.py:80
Methodfinal_start_line_number
Final start line number
pygit2/blame.py:75
Methodforce
Whether this refspeca llows non-fast-forward updates
pygit2/refspec.py:52
Functionforce_rm_handle
( # Callable[..., Any], str, , object remove_path: Callable[..., Any], path_str: str, excinfo:
test/utils.py:87
Functionforeach_mergehead_cb
src/repository.c:2380
Functionforeach_path_cb
src/repository.c:1514
Functionforeach_stash_cb
src/repository.c:2323
Functionforeign_patch_diff
()
test/test_apply_diff.py:71
Functionfree_module
src/pygit2.c:413
Functiongen_blob_sha1
(data: bytes)
test/utils.py:79
Methodget
(self, key: Oid | str, default: Optional[Commit] = None)
pygit2/repository.py:271
Methodget_file_list
(self)
setup.py:50
Methodget_xdg_config
Return a <Config> object representing the global configuration file.
pygit2/config.py:317
Functionglobal_git_config
()
test/conftest.py:13
Functiongpgsigned
(tmp_path: Path)
test/conftest.py:96
Functionhashfile
src/pygit2.c:147
Methodhead_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
Methodhomedir
Get or set the home directory
pygit2/settings.py:324
Methodident
(self)
pygit2/repository.py:1581
Methodindex
Index representing the repository's index file.
pygit2/repository.py:774
Methodinit
Initialize submodules in the repository. Just like "git submodule init", this copies information about the submodules into ".git/conf
pygit2/submodules.py:284
Methodisatty
(self)
pygit2/blob.py:48
Methodlevel
The entry's ``git_config_level_t`` value.
pygit2/config.py:372
← previousnext →701–800 of 1,514, ranked by callers