MCPcopy Create free account

hub / github.com/libgit2/pygit2 / functions

Functions1,514 in github.com/libgit2/pygit2

↓ 2 callersFunctionwrap_worktree
src/worktree.c:151
↓ 1 callersFunctionReference_init_symbolic
src/reference.c:132
↓ 1 callersFunctionTree_fix_index
src/tree.c:89
↓ 1 callersMethod__enter__
(self)
test/utils.py:123
↓ 1 callersMethod__init__
( self, username: str, pubkey: str | Path | None, privkey: str | Path | None,
pygit2/credentials.py:108
↓ 1 callersMethod__init__
The Repository constructor will commonly be called with one argument, the path of the repository to open. Alternatively, con
pygit2/repository.py:1788
↓ 1 callersMethod__init__
Wrap the specified blob. Parameters: blob: The blob to wrap. as_path: Filter the contents of the blob as if it had th
pygit2/blob.py:127
↓ 1 callersMethod__setitem__
(self, key: str | bytes, value: bool | int | str | bytes)
pygit2/config.py:150
↓ 1 callersFunction_cache_enums
src/pygit2.c:376
↓ 1 callersMethod_get_dlls
(self)
setup.py:100
↓ 1 callersFunction_get_libgit2_path
()
pygit2/_build.py:43
↓ 1 callersMethod_initialize_tls_certificate_locations
Set up initial TLS file and directory lookup locations.
pygit2/settings.py:62
↓ 1 callersMethod_is_filter_in_use
(cls, name: str)
pygit2/filter.py:145
↓ 1 callersMethod_valid
(self, branch: Branch)
pygit2/branches.py:92
↓ 1 callersMethodadd_conflict
Add or update index entries to represent a conflict. Any staged entries that exist at the given paths will be removed. Param
pygit2/index.py:230
↓ 1 callersMethodadd_push
Add a push refspec (str) to the remote
pygit2/remotes.py:527
↓ 1 callersMethodapply_to_blob
Apply a filter list to a data buffer. Return the filtered contents.
pygit2/filter.py:189
↓ 1 callersMethodapply_to_file
Apply a filter list to the contents of a file on disk. Return the filtered contents.
pygit2/filter.py:175
↓ 1 callersMethodassign_to
(self, git_strarray: 'GitStrrayC')
pygit2/utils.py:186
↓ 1 callersMethodcache_all
Load and cache all submodules in the repository. Because the `.gitmodules` file is unstructured, loading submodules is an O(
pygit2/submodules.py:371
↓ 1 callersMethodcache_clear
Clear the submodule cache populated by `submodule_cache_all`. If there is no cache, do nothing. The cache incorporates data
pygit2/submodules.py:384
↓ 1 callersMethodcertificate_check
Certificate callback. Override with your own function to determine whether to accept the server's certificate. Returns: True
pygit2/callbacks.py:179
↓ 1 callersMethodcheckout_head
Checkout HEAD For arguments, see Repository.checkout().
pygit2/repository.py:411
↓ 1 callersMethodcheckout_index
Checkout the given index or the repository's index For arguments, see Repository.checkout().
pygit2/repository.py:420
↓ 1 callersMethodcheckout_notify
Checkout will invoke an optional notification callback for certain cases - you pick which ones via `checkout_notify_flags`.
pygit2/callbacks.py:297
↓ 1 callersMethodcheckout_notify_flags
Returns a bit mask of the notifications to receive from a checkout (a combination of enums.CheckoutNotify constants). By def
pygit2/callbacks.py:276
↓ 1 callersMethodcheckout_progress
Optional callback to notify the consumer of checkout progress.
pygit2/callbacks.py:319
↓ 1 callersMethodcheckout_tree
Checkout the given treeish For arguments, see Repository.checkout().
pygit2/repository.py:433
↓ 1 callersMethodcompress
(self)
pygit2/references.py:110
↓ 1 callersFunctiondiff_get_delta_byindex
src/diff.c:594
↓ 1 callersFunctiondowild
Match pattern "p" against "text" */
src/wildmatch.c:99
↓ 1 callersMethoddst_matches
Return True if the given string matches the destination of this refspec, False otherwise.
pygit2/refspec.py:72
↓ 1 callersMethodfrom_c
(cls, repo: 'BaseRepository', ptr: 'GitConfigC')
pygit2/config.py:100
↓ 1 callersMethodget
(self, key: str)
pygit2/references.py:48
↓ 1 callersMethodget
Look up submodule information by name or path. Unlike __getitem__, this returns None if the submodule is not found.
pygit2/submodules.py:209
↓ 1 callersFunctionget_credentials
Call fn and return the credentials object.
pygit2/callbacks.py:675
↓ 1 callersMethodget_global_config
Return a <Config> object representing the global configuration file.
pygit2/config.py:312
↓ 1 callersFunctionget_passthrough
src/filter.c:395
↓ 1 callersMethodget_refspec
Return the <Refspec> object at the given position.
pygit2/remotes.py:320
↓ 1 callersMethodget_system_config
Return a <Config> object representing the system configuration file.
pygit2/config.py:307
↓ 1 callersFunctiongit_clone_options
(payload, opts=None)
pygit2/callbacks.py:355
↓ 1 callersFunctiongit_push_options
(payload, opts=None)
pygit2/callbacks.py:425
↓ 1 callersFunctioninit_file_backend
src/pygit2.c:198
↓ 1 callersFunctionint_to_loose_object_type
src/odb.c:42
↓ 1 callersMethodls_remotes
Deprecated interface to list_heads
pygit2/remotes.py:284
↓ 1 callersMethodpack
Pack the objects in the odb chosen by the pack_delegate function and write `.pack` and `.idx` files for them. Returns: the number of
pygit2/repository.py:150
↓ 1 callersFunctionpack_delegate
(pb: PackBuilder)
test/test_packbuilder.py:75
↓ 1 callersFunctionpgit_strdup
src/utils.c:154
↓ 1 callersFunctionpy_type_to_git_type
src/utils.c:183
↓ 1 callersFunctionpygit2_filter_stream_init
src/filter.c:329
↓ 1 callersMethodreload
Reread submodule info from config, index, and HEAD. Call this to reread cached submodule information for this submodule if y
pygit2/submodules.py:123
↓ 1 callersMethodremove_message
Remove git's prepared message.
pygit2/repository.py:1099
↓ 1 callersMethodrename
Rename a remote in the configuration. The refspecs in standard format will be renamed. Returns a list of fetch refspecs (list of stri
pygit2/remotes.py:480
↓ 1 callersMethodrevert
Revert the given commit, producing changes in the index and working directory. This operation updates the repository's state
pygit2/repository.py:1601
↓ 1 callersMethodrevert_commit
Revert the given Commit against the given "our" Commit, producing an Index that reflects the result of the revert. Returns:
pygit2/repository.py:1614
↓ 1 callersMethodrtransform
Transform a reference name according to this refspec from the lhs to the rhs. Return an string.
pygit2/refspec.py:93
↓ 1 callersFunctionset_content
()
test/test_blob.py:113
↓ 1 callersMethodset_ssl_ciphers
Set the SSL ciphers to use for HTTPS connections
pygit2/settings.py:247
↓ 1 callersMethodset_threads
(self, n_threads: int)
pygit2/packbuilder.py:75
↓ 1 callersFunctionsetup_second_repo
(tmp_path: Path)
test/test_packbuilder.py:84
↓ 1 callersMethodsrc_matches
Return True if the given string matches the source of this refspec, False otherwise.
pygit2/refspec.py:66
↓ 1 callersMethodstash_apply_progress
Stash application progress notification function. `progress` is a StashApplyProgress constant. Raising an exception from th
pygit2/callbacks.py:335
↓ 1 callersMethodstash_drop
Remove a stashed state from the stash list. Parameters: index : int The position within the stash list of the s
pygit2/repository.py:1361
↓ 1 callersMethodtransform
Transform a reference name according to this refspec from the lhs to the rhs. Return an string.
pygit2/refspec.py:87
↓ 1 callersFunctiontree_getentry_by_index
src/tree.c:134
↓ 1 callersFunctionwildmatch
Match the "pattern" against the "text" string. */
src/wildmatch.c:319
↓ 1 callersFunctionwrap_diff_hunk
src/diff.c:116
↓ 1 callersFunctionwrap_diff_line
src/diff.c:162
↓ 1 callersFunctionwrap_diff_stats
src/diff.c:140
↓ 1 callersFunctionwrap_odb
src/odb.c:475
↓ 1 callersFunctionwrap_odb_backend
src/odb_backend.c:582
↓ 1 callersFunctionwrap_revspec
src/revspec.c:37
↓ 1 callersMethodwrite
( self, ref: Reference, force: bool, who: Signature, message: str,
test/test_refdb_backend.py:52
↓ 1 callersMethodwrite
(self, path: str | bytes | PathLike[str] | None = None)
pygit2/packbuilder.py:78
↓ 1 callersMethodwrite_archive
Write treeish into an archive. If no timestamp is provided and 'treeish' is a commit, its committer timestamp will be used.
pygit2/repository.py:1395
FunctionBlob__write_to_queue
src/blob.c:280
FunctionBlob_diff
src/blob.c:73
FunctionBlob_diff_to_buffer
src/blob.c:124
FunctionBlob_getbuffer
src/blob.c:429
FunctionBlob_is_binary__get__
src/blob.c:399
FunctionBlob_size__get__
src/blob.c:389
FunctionBranch_branch_name__get__
src/branch.c:137
FunctionBranch_delete
src/branch.c:44
FunctionBranch_is_checked_out
src/branch.c:90
FunctionBranch_is_head
src/branch.c:68
FunctionBranch_raw_branch_name__get__
src/branch.c:155
FunctionBranch_remote_name__get__
src/branch.c:178
FunctionBranch_rename
src/branch.c:114
FunctionBranch_upstream__get__
src/branch.c:204
FunctionBranch_upstream__set__
src/branch.c:221
FunctionBranch_upstream_name__get__
src/branch.c:255
FunctionCommit_author__get__
src/commit.c:187
FunctionCommit_commit_time__get__
src/commit.c:153
FunctionCommit_commit_time_offset__get__
src/commit.c:163
FunctionCommit_committer__get__
src/commit.c:173
FunctionCommit_gpg_signature__get__
src/commit.c:69
FunctionCommit_message__get__
src/commit.c:57
FunctionCommit_message_encoding__get__
src/commit.c:42
FunctionCommit_message_trailers__get__
src/commit.c:104
FunctionCommit_parent_ids__get__
src/commit.c:278
← previousnext →201–300 of 1,514, ranked by callers