Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ types & classes
Types & classes
153 in github.com/libgit2/pygit2
⨍
Functions
1,514
◇
Types & classes
153
↳
Endpoints
3
↓ 11 callers
Class
RemoteCallbacks
Base class for pygit2 remote callbacks. Inherit from this class and override the callbacks which you want to use in your class, which you can
pygit2/callbacks.py:113
↓ 10 callers
Class
MergeFileResult
pygit2/index.py:391
↓ 8 callers
Class
Config
Git configuration management.
pygit2/config.py:81
↓ 7 callers
Class
StrArray
A git_strarray wrapper Use this in order to get a git_strarray* to pass to libgit2 out of a list of strings. This has a context manager, whic
pygit2/utils.py:126
↓ 6 callers
Class
Index
pygit2/index.py:42
↓ 6 callers
Class
IndexEntry
pygit2/index.py:430
↓ 6 callers
Class
MyCallbacks
test/test_remote.py:298
↓ 4 callers
Class
Branches
pygit2/branches.py:39
↓ 4 callers
Class
MyStashApplyCallbacks
test/test_repository.py:488
↓ 4 callers
Class
PackBuilder
pygit2/packbuilder.py:39
↓ 4 callers
Class
Remote
pygit2/remotes.py:146
↓ 3 callers
Class
Keypair
SSH key pair credentials. This is an object suitable for passing to a remote's credentials callback and for returning from said callback
pygit2/credentials.py:85
↓ 3 callers
Class
MyCallbacks
test/test_credentials.py:141
↓ 3 callers
Class
MyCheckoutCallbacks
test/test_repository.py:114
↓ 3 callers
Class
UserPass
Username/Password credentials This is an object suitable for passing to a remote's credentials callback and for returning from said callback.
pygit2/credentials.py:60
↓ 2 callers
Class
FileMode
pygit2/enums.py:674
↓ 2 callers
Class
GenericIterator
Helper to easily implement an iterator. The constructor gets a container which must implement __len__ and __getitem__
pygit2/utils.py:204
↓ 2 callers
Class
ProxyBackend
test/test_odb_backend.py:70
↓ 2 callers
Class
Repository
pygit2/repository.py:1787
↓ 2 callers
Class
TransferProgress
Progress downloading and indexing data during a fetch.
pygit2/remotes.py:112
↓ 1 callers
Class
CheckoutCallbacks
Base class for pygit2 checkout callbacks. Inherit from this class and override the callbacks that you want to use in your class, which you ca
pygit2/callbacks.py:266
↓ 1 callers
Class
ConfigIterator
pygit2/config.py:53
↓ 1 callers
Class
ConfigMultivarIterator
pygit2/config.py:75
↓ 1 callers
Class
ConflictCollection
pygit2/index.py:496
↓ 1 callers
Class
ConflictIterator
pygit2/index.py:538
↓ 1 callers
Class
CredentialType
Supported credential types. This represents the various types of authentication methods supported by the library.
pygit2/enums.py:265
↓ 1 callers
Class
CustomRepoClass
test/test_submodule.py:100
↓ 1 callers
Class
KeypairFromAgent
pygit2/credentials.py:136
↓ 1 callers
Class
KeypairFromMemory
pygit2/credentials.py:141
↓ 1 callers
Class
MyCallbacks
test/test_remote_prune.py:66
↓ 1 callers
Class
MyCallbacks
test/test_repository.py:783
↓ 1 callers
Class
ProxyRefdbBackend
test/test_refdb_backend.py:42
↓ 1 callers
Class
PushUpdate
Represents an update which will be performed on the remote during push.
pygit2/remotes.py:84
↓ 1 callers
Class
ReferenceFilter
Filters for References.iterator().
pygit2/enums.py:1001
↓ 1 callers
Class
ReferenceTransaction
Context manager for transactional reference updates. A transaction allows multiple reference updates to be performed atomically. All updates
pygit2/transaction.py:40
↓ 1 callers
Class
References
pygit2/references.py:41
↓ 1 callers
Class
Refspec
The constructor is for internal use only.
pygit2/refspec.py:34
↓ 1 callers
Class
RemoteCollection
Collection of configured remotes You can use this class to look up and manage the remotes configured in a repository. You can access reposit
pygit2/remotes.py:398
↓ 1 callers
Class
RemoteHead
Description of a reference advertised by a remote server, given out on `Remote.list_heads` calls.
pygit2/remotes.py:55
↓ 1 callers
Class
RepositoryState
Repository state: These values represent possible states for the repository to be in, based on the current operation which is ongoing.
pygit2/enums.py:1135
↓ 1 callers
Class
SearchPathList
pygit2/settings.py:40
↓ 1 callers
Class
Settings
Library-wide settings interface.
pygit2/settings.py:48
↓ 1 callers
Class
StashApplyCallbacks
Base class for pygit2 stash apply callbacks. Inherit from this class and override the callbacks that you want to use in your class, which you
pygit2/callbacks.py:328
↓ 1 callers
Class
SubmoduleCollection
Collection of submodules in a repository.
pygit2/submodules.py:184
↓ 1 callers
Class
SubmoduleStatus
pygit2/enums.py:1261
↓ 1 callers
Class
Username
Username credentials This is an object suitable for passing to a remote's credentials callback and for returning from said callback.
pygit2/credentials.py:36
↓ 1 callers
Class
_BlobIO
Low-level wrapper for streaming blob content. The underlying libgit2 git_writestream filter chain will be run in a separate thread. The GIL w
pygit2/blob.py:12
Class
ApplyLocation
Possible application locations for patches
pygit2/enums.py:32
Class
AttrCheck
pygit2/enums.py:54
Class
BaseRepository
pygit2/repository.py:97
Class
Blame
pygit2/blame.py:116
Class
BlameFlag
pygit2/enums.py:63
Class
BlameHunk
pygit2/blame.py:52
Class
BlobFilter
pygit2/enums.py:93
Class
BlobIO
Read-only wrapper for streaming blob content. Supports reading both raw and filtered blob content. Implements io.BufferedReader. Example
pygit2/blob.py:99
Class
BranchType
pygit2/enums.py:107
Class
BuildWithDLLs
setup.py:99
Class
CheckoutNotify
Checkout notification flags Checkout will invoke an options notification callback (`CheckoutCallbacks.checkout_notify`) for certain case
pygit2/enums.py:113
Class
CheckoutStrategy
pygit2/enums.py:146
Class
ConfigEntry
An entry in a configuration object.
pygit2/config.py:322
Class
ConfigLevel
Priority level of a config file. These priority levels correspond to the natural escalation logic (from higher to lower) when searching f
pygit2/enums.py:232
Class
DeltaStatus
What type of change is described by a DiffDelta? `RENAMED` and `COPIED` will only show up if you run `find_similar()` on the Diff object
pygit2/enums.py:302
Class
DescribeStrategy
Reference lookup strategy. These behave like the --tags and --all options to git-describe, namely they say to look for any reference in
pygit2/enums.py:348
Class
DiffFind
Flags to control the behavior of diff rename/copy detection.
pygit2/enums.py:362
Class
DiffFlag
Flags for the delta object and the file objects on each side. These flags are used for both the `flags` value of the `DiffDelta` and the
pygit2/enums.py:441
Class
DiffOption
Flags for diff options. A combination of these flags can be passed in via the `flags` value in `diff_*` functions.
pygit2/enums.py:467
Class
DiffStatsFormat
Formatting options for diff stats
pygit2/enums.py:629
Class
Feature
Combinations of these values describe the features with which libgit2 was compiled.
pygit2/enums.py:648
Class
FetchPrune
Acceptable prune settings when fetching.
pygit2/enums.py:660
Class
FileStatus
Status flags for a single file. A combination of these values will be returned to indicate the status of a file. Status compares the wor
pygit2/enums.py:683
Class
Filter
Base filter class to be used with libgit2 filters. Inherit from this class and override the `check()`, `write()` and `close()` methods t
pygit2/filter.py:42
Class
FilterFlag
Filter option flags.
pygit2/enums.py:714
Class
FilterList
pygit2/filter.py:123
Class
FilterMode
Filters are applied in one of two directions: smudging - which is exporting a file from the Git object database to the working directory,
pygit2/enums.py:732
Class
MergeAnalysis
The results of `Repository.merge_analysis` indicate the merge opportunities.
pygit2/enums.py:747
Class
MergeFavor
Merge file favor options for `Repository.merge` instruct the file-level merging functionality how to deal with conflicting regions of the fil
pygit2/enums.py:780
Class
MergeFileFlag
File merging flags
pygit2/enums.py:821
Class
MergeFlag
Flags for `Repository.merge` options. A combination of these flags can be passed in via the `flags` value.
pygit2/enums.py:861
Class
MergePreference
The user's stated preference for merges.
pygit2/enums.py:902
Class
ObjectType
pygit2/enums.py:921
Class
Option
Global libgit2 library options
pygit2/enums.py:947
Class
Passthrough
pygit2/errors.py:71
Class
Payload
pygit2/callbacks.py:91
Class
PyModuleDef
src/pygit2.c:432
Class
ReferenceType
Basic type of any Git reference.
pygit2/enums.py:1009
Class
RepositoryInitFlag
Option flags for pygit2.init_repository().
pygit2/enums.py:1025
Class
RepositoryInitMode
Mode options for pygit2.init_repository().
pygit2/enums.py:1061
Class
RepositoryOpenFlag
Option flags for Repository.__init__().
pygit2/enums.py:1079
Class
ResetMode
Kinds of reset operation.
pygit2/enums.py:1155
Class
RevSpecFlag
Revparse flags. These indicate the intended behavior of the spec passed to Repository.revparse()
pygit2/enums.py:1168
Class
SequenceProtocol
pygit2/utils.py:199
Class
SortMode
Flags to specify the sorting which a revwalk should perform.
pygit2/enums.py:1184
Class
StashApplyProgress
Stash apply progression states
pygit2/enums.py:1215
Class
Submodule
pygit2/submodules.py:47
Class
SubmoduleIgnore
pygit2/enums.py:1244
Class
TemporaryRepository
test/utils.py:118
Class
_BufferedFilter
test/test_filter.py:30
Class
_PassthroughFilter
test/test_filter.py:49
Class
_Rot13Filter
test/test_filter.py:18
Class
_UnmatchedFilter
test/test_filter.py:56
next →
1–100 of 153, ranked by callers