Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ types & classes
Types & classes
221 in github.com/libgit2/git2go
⨍
Functions
945
◇
Types & classes
221
↓ 6 callers
TypeAlias
ObjectType
object.go:13
↓ 4 callers
TypeAlias
MessageEncoding
MessageEncoding is the encoding of commit messages.
commit.go:16
↓ 2 callers
TypeAlias
CheckoutNotifyType
checkout.go:15
↓ 2 callers
TypeAlias
Delta
diff.go:27
↓ 2 callers
TypeAlias
DiffFlag
diff.go:18
↓ 2 callers
TypeAlias
Filemode
tree.go:16
↓ 2 callers
TypeAlias
MergeFileFavor
merge.go:190
↓ 2 callers
TypeAlias
Status
status.go:14
↓ 2 callers
TypeAlias
SubmoduleIgnore
submodule.go:48
↓ 1 callers
TypeAlias
BlameOptionsFlag
blame.go:41
↓ 1 callers
TypeAlias
BranchType
branch.go:13
↓ 1 callers
TypeAlias
CheckoutStrategy
checkout.go:16
↓ 1 callers
TypeAlias
ConfigLevel
config.go:12
↓ 1 callers
TypeAlias
ConnectDirection
remote.go:61
↓ 1 callers
TypeAlias
DescribeOptionsStrategy
DescribeOptionsStrategy behaves like the --tags and --all options to git-describe, namely they say to look for any reference in either refs/tags/ or r
describe.go:96
↓ 1 callers
TypeAlias
DiffFindOptionsFlag
diff.go:544
↓ 1 callers
TypeAlias
DiffLineType
go:generate stringer -type Delta -trimprefix Delta -tags static
diff.go:45
↓ 1 callers
TypeAlias
DiffOptionsFlag
diff.go:466
↓ 1 callers
TypeAlias
ErrorClass
go:generate stringer -type ErrorClass -trimprefix ErrorClass -tags static
git.go:18
↓ 1 callers
TypeAlias
ErrorCode
go:generate stringer -type ErrorCode -trimprefix ErrorCode -tags static
git.go:53
↓ 1 callers
TypeAlias
Feature
features.go:8
↓ 1 callers
TypeAlias
HostkeyKind
HostkeyKind is a bitmask of the available hashes in HostkeyCertificate.
remote.go:277
↓ 1 callers
TypeAlias
MergeAnalysis
merge.go:225
↓ 1 callers
TypeAlias
MergeFileFlags
merge.go:468
↓ 1 callers
TypeAlias
MergePreference
merge.go:235
↓ 1 callers
TypeAlias
MergeTreeFlag
merge.go:119
↓ 1 callers
TypeAlias
ProxyType
remote.go:160
↓ 1 callers
TypeAlias
RebaseOperationType
RebaseOperationType is the type of rebase operation
rebase.go:18
↓ 1 callers
TypeAlias
ReferenceType
reference.go:12
↓ 1 callers
TypeAlias
RemoteCompletion
remote.go:60
↓ 1 callers
TypeAlias
RemoteCreateOptionsFlag
RemoteCreateOptionsFlag is Remote creation options flags
remote.go:25
↓ 1 callers
TypeAlias
RepositoryState
repository.go:745
↓ 1 callers
TypeAlias
RevparseFlag
revparse.go:14
↓ 1 callers
TypeAlias
SmartServiceAction
SmartServiceAction is an action that the smart transport can ask a subtransport to perform.
transport.go:63
↓ 1 callers
TypeAlias
StashApplyFlag
StashApplyFlag are flags that affect the stash apply operation.
stash.go:75
↓ 1 callers
TypeAlias
StashApplyProgress
StashApplyProgress are flags describing the progress of the apply operation.
stash.go:87
↓ 1 callers
TypeAlias
SubmoduleRecurse
submodule.go:76
↓ 1 callers
TypeAlias
SubmoduleStatus
submodule.go:57
↓ 1 callers
TypeAlias
SubmoduleUpdate
submodule.go:39
Struct
AnnotatedCommit
merge.go:19
FuncType
ApplyDeltaCallback
ApplyDeltaCallback is a callback that will be made per hunk when applying a patch.
diff.go:895
FuncType
ApplyHunkCallback
ApplyHunkCallback is a callback that will be made per delta (file) when applying a patch.
diff.go:892
TypeAlias
ApplyLocation
ApplyLocation represents the possible application locations for applying diffs.
diff.go:1013
Struct
ApplyOptions
ApplyOptions has 2 callbacks that are called for hunks or deltas If these functions return an error, abort the apply process immediately. If the first
diff.go:900
Struct
Blame
blame.go:89
Struct
BlameHunk
blame.go:142
Struct
BlameOptions
blame.go:12
Struct
Blob
blob.go:17
Struct
BlobCallbackData
Deprecated: BlobCallbackData is not used.
deprecated.go:20
FuncType
BlobChunkCallback
The constants, functions, and types in this files are slated for deprecation in the next major version. blob.go Deprecated: BlobChunkCallback is not u
deprecated.go:17
Struct
BlobWriteStream
blob.go:99
Struct
Branch
branch.go:21
Struct
BranchIterator
branch.go:30
FuncType
BranchIteratorFunc
func(*Branch, BranchType) error
branch.go:36
Struct
Certificate
Certificate represents the two possible certificates which libgit2 knows it might find. If Kind is CertficateX509 then the X509 field will be filled.
remote.go:270
FuncType
CertificateCheckCallback
func(cert *Certificate, valid bool, hostname string) error
remote.go:77
TypeAlias
CertificateKind
remote.go:259
FuncType
CheckoutNotifyCallback
func(why CheckoutNotifyType, path string, baseline, target, workdir DiffFile) error
checkout.go:51
Struct
CheckoutOptions
checkout.go:54
FuncType
CheckoutProgressCallback
func(path string, completed, total uint)
checkout.go:52
Struct
CherrypickOptions
cherrypick.go:11
Struct
CloneOptions
clone.go:16
Struct
Commit
Commit
commit.go:24
FuncType
CommitCreateCallback
CommitCreateCallback defines a function type that is called when another function is going to create commits (for example, Rebase) to allow callers to
commit.go:76
FuncType
CommitSigningCallback
CommitSigningCallback defines a function type that takes some data to sign and returns (signature, signature_field, error)
commit.go:69
FuncType
CompletionCallback
func(RemoteCompletion) error
remote.go:73
Struct
Config
config.go:54
Struct
ConfigEntry
config.go:40
Struct
ConfigIterator
config.go:364
Struct
Credential
credentials.go:82
TypeAlias
CredentialType
CredentialType is a bitmask of supported credential types. This represents the various types of authentication methods supported by the library.
credentials.go:27
FuncType
CredentialsCallback
func(url string, username_from_url string, allowed_types CredentialType) (*Credential, error)
remote.go:74
Struct
DescribeFormatOptions
DescribeFormatOptions can be used for formatting the describe string. You can use DefaultDescribeFormatOptions() to get default options.
describe.go:60
Struct
DescribeOptions
DescribeOptions represents the describe operation configuration. You can use DefaultDescribeOptions() to get default options.
describe.go:15
Struct
DescribeResult
DescribeResult represents the output from the 'git_describe_commit' and 'git_describe_workdir' functions in libgit2. Use Format() to get a string out
describe.go:178
Struct
Diff
diff.go:134
Struct
DiffDelta
diff.go:80
TypeAlias
DiffDetail
diff.go:308
Struct
DiffFile
go:generate stringer -type DiffLineType -trimprefix DiffLine -tags static
diff.go:62
Struct
DiffFindOptions
TODO implement git_diff_similarity_metric
diff.go:566
FuncType
DiffForEachFileCallback
func(delta DiffDelta, progress float64) (DiffForEachHunkCallback, error)
diff.go:306
FuncType
DiffForEachHunkCallback
func(DiffHunk) (DiffForEachLineCallback, error)
diff.go:376
FuncType
DiffForEachLineCallback
func(DiffLine) error
diff.go:399
TypeAlias
DiffFormat
diff.go:436
Struct
DiffHunk
diff.go:98
Struct
DiffLine
diff.go:116
FuncType
DiffNotifyCallback
func(diffSoFar *Diff, deltaToAdd DiffDelta, matchedPathspec string) error
diff.go:502
Struct
DiffOptions
diff.go:504
Struct
DiffStats
diff.go:222
TypeAlias
DiffStatsFormat
diff.go:255
TypeAlias
DownloadTags
remote.go:110
Struct
FetchOptions
remote.go:126
TypeAlias
FetchPrune
remote.go:99
Struct
GitError
git.go:289
Struct
HandleList
handles.go:13
Struct
HostkeyCertificate
Server host key information. A bitmask containing the available fields. Check for combinations of: HostkeyMD5, HostkeySHA1, HostkeySHA256, HostkeyRaw.
remote.go:288
Struct
Index
index.go:53
TypeAlias
IndexAddOption
IndexAddOption is a set of flags for APIs that add files matching pathspec.
index.go:25
Struct
IndexConflict
index.go:566
Struct
IndexConflictIterator
index.go:618
next →
1–100 of 221, ranked by callers