Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ functions
Functions
945 in github.com/libgit2/git2go
⨍
Functions
945
◇
Types & classes
221
↓ 1 callers
Method
GetUserpassPlaintext
GetUserpassPlaintext returns the plaintext username/password combination stored in the Cred.
credentials.go:111
↓ 1 callers
Method
HasLog
HasLog returns whether there is a reflog for the given reference name
reference.go:123
↓ 1 callers
Method
Hash
Hash determines the object-ID (sha1) of a data buffer.
odb.go:252
↓ 1 callers
Method
InmemoryIndex
InmemoryIndex gets the index produced by the last operation, which is the result of `Next()` and which will be committed by the next invocation of `Co
rebase.go:402
↓ 1 callers
Method
Insert
(filename string, id *Oid, filemode Filemode)
tree.go:196
↓ 1 callers
Method
Insertions
()
diff.go:237
↓ 1 callers
Method
IsBare
()
repository.go:687
↓ 1 callers
Method
IsBinary
()
blob.go:43
↓ 1 callers
Method
IsZero
()
git.go:256
↓ 1 callers
Method
ItemPath
(item RepositoryItem)
repository.go:863
↓ 1 callers
Method
Len
()
odb.go:359
↓ 1 callers
Method
LookupInt32
(name string)
config.go:90
↓ 1 callers
Method
LookupInt64
(name string)
config.go:107
↓ 1 callers
Method
LookupString
(name string)
config.go:124
↓ 1 callers
Method
Merge
(theirHeads []*AnnotatedCommit, mergeOptions *MergeOptions, checkoutOptions *CheckoutOptions)
merge.go:199
↓ 1 callers
Method
MergeAnalysis
MergeAnalysis returns the possible actions which could be taken by a 'git-merge' command. There may be multiple answers, so the first return value is
merge.go:246
↓ 1 callers
Method
MergeBase
(one *Oid, two *Oid)
merge.go:307
↓ 1 callers
Method
MergeBaseMany
MergeBaseMany finds a merge base given a list of commits.
merge.go:355
↓ 1 callers
Method
MergeBaseOctopus
MergeBaseOctopus finds a merge base in preparation for an octopus merge.
merge.go:408
↓ 1 callers
Method
MergeBases
MergeBases retrieves the list of merge bases between two commits. If none are found, an empty slice is returned and the error is set approprately
merge.go:326
↓ 1 callers
Method
MergeBasesMany
MergeBasesMany finds all merge bases given a list of commits.
merge.go:375
↓ 1 callers
Function
MergeFile
(ancestor MergeFileInput, ours MergeFileInput, theirs MergeFileInput, options *MergeFileOptions)
merge.go:542
↓ 1 callers
Method
MergeTrees
(ancestor *Tree, ours *Tree, theirs *Tree, options *MergeOptions)
merge.go:284
↓ 1 callers
Function
MessageTrailers
MessageTrailers parses trailers out of a message, returning a slice of Trailer structs. Trailers are key/value pairs in the last paragraph of a messag
message.go:21
↓ 1 callers
Function
MwindowMappedLimit
()
settings.go:80
↓ 1 callers
Function
MwindowSize
()
settings.go:72
↓ 1 callers
Function
NewCredentialDefault
()
credentials.go:287
↓ 1 callers
Function
NewCredentialSSHKey
NewCredentialSSHKey creates new ssh credentials reading the public and private keys from the file system.
credentials.go:171
↓ 1 callers
Function
NewCredentialSSHKeyFromAgent
(username string)
credentials.go:215
↓ 1 callers
Function
NewCredentialSSHKeyFromMemory
NewCredentialSSHKeyFromMemory creates new ssh credentials using the publicKey and privateKey arguments as the values for the public and private keys.
credentials.go:194
↓ 1 callers
Function
NewCredentialSSHKeyFromSigner
NewCredentialSSHKeyFromSigner creates new SSH credentials using the provided signer.
credentials.go:266
↓ 1 callers
Function
NewCredentialUserpassPlaintext
(username string, password string)
credentials.go:152
↓ 1 callers
Function
NewHandleList
()
handles.go:20
↓ 1 callers
Function
NewIndexer
NewIndexer creates a new indexer instance.
indexer.go:29
↓ 1 callers
Function
NewMempack
NewMempack creates a new mempack instance and registers it to the ODB.
mempack.go:26
↓ 1 callers
Method
NewNoteIterator
NewNoteIterator creates a new iterator for notes
note.go:200
↓ 1 callers
Function
NewOdbBackendLoose
NewOdbBackendLoose creates a backend for loose objects.
odb.go:96
↓ 1 callers
Function
NewOdbBackendOnePack
(packfileIndexPath string)
odb.go:80
↓ 1 callers
Method
NewReadStream
NewReadStream opens a read stream from the ODB. Reading from it will give you the contents of the object.
odb.go:276
↓ 1 callers
Function
NewRepositoryWrapOdb
(odb *Odb)
repository.go:125
↓ 1 callers
Method
NewWritePack
NewWritePack opens a stream for writing a pack file to the ODB. If the ODB layer understands pack files, then the given packfile will likely be stream
odb.go:321
↓ 1 callers
Method
Next
Next returns the current item (note id & annotated id) and advances the iterator internally to the next item
note.go:233
↓ 1 callers
Method
Offset
Offset returns the time zone offset of v.When in minutes, which is what git wants.
signature.go:34
↓ 1 callers
Function
OpenDefault
OpenDefault opens the default config according to git rules
config.go:457
↓ 1 callers
Function
OpenIndex
OpenIndex creates a new index at the given path. If the file does not exist it will be created when Write() is called.
index.go:133
↓ 1 callers
Method
OpenLevel
OpenLevel creates a single-level focused config object from a multi-level one
config.go:331
↓ 1 callers
Function
OpenOndisk
OpenOndisk creates a new config instance containing a single on-disk file
config.go:348
↓ 1 callers
Method
OperationAt
OperationAt gets the rebase operation specified by the given index.
rebase.go:347
↓ 1 callers
Method
OperationCount
OperationCount gets the count of rebase operations that are to be applied.
rebase.go:371
↓ 1 callers
Function
ParseRefspec
ParseRefspec parses a given refspec string
refspec.go:18
↓ 1 callers
Method
Pop
Pop applies a single stashed state from the stash list and removes it from the list if successful. 'index' is the position within the stash list. 0 p
stash.go:320
↓ 1 callers
Method
Prune
(callbacks *RemoteCallbacks)
remote.go:1196
↓ 1 callers
Method
PruneRefs
()
remote.go:1192
↓ 1 callers
Method
Push
(id *Oid)
walk.go:41
↓ 1 callers
Method
RawHeader
RawHeader gets the full raw text of the commit header.
commit.go:57
↓ 1 callers
Method
RawMessage
()
commit.go:50
↓ 1 callers
Method
ReachableFromAny
ReachableFromAny returns whether a commit is reachable from any of a list of commits by following parent edges.
graph.go:46
↓ 1 callers
Method
ReadHeader
(oid *Oid)
odb.go:116
↓ 1 callers
Method
ReadTree
ReadTree replaces the contents of the index with those of the given tree
index.go:405
↓ 1 callers
Function
RemoteNameIsValid
RemoteNameIsValid returns whether the remote name is well-formed.
remote.go:596
↓ 1 callers
Method
RemoveConflict
(path string)
index.go:602
↓ 1 callers
Method
RemoveDirectory
RemoveDirectory removes all entries from the index under a given directory.
index.go:371
↓ 1 callers
Method
Rename
(name string, force bool, msg string)
reference.go:227
↓ 1 callers
Method
Reset
Reset resets the memory packer by clearing all the queued objects. This assumes that Mempack.Dump has been called before to store all the queued obje
mempack.go:83
↓ 1 callers
Method
Resolve
()
reference.go:212
↓ 1 callers
Method
Revert
Revert the provided commit leaving the index updated with the results of the revert
revert.go:62
↓ 1 callers
Method
RevertCommit
RevertCommit reverts the provided commit against "ourCommit" The returned index contains the result of the revert and should be freed
revert.go:86
↓ 1 callers
Method
Revparse
(spec string)
revparse.go:60
↓ 1 callers
Method
RevparseExt
(spec string)
revparse.go:94
↓ 1 callers
Method
Rtransform
Rtransform converts a target reference to its source reference following the refspec's rules
refspec.go:133
↓ 1 callers
Function
SearchPath
(level ConfigLevel)
settings.go:42
↓ 1 callers
Method
SetConfig
SetConfig sets the configuration file for this repository. This configuration file will be used for all configuration queries involving this reposito
repository.go:175
↓ 1 callers
Method
SetHeadDetached
(id *Oid)
repository.go:354
↓ 1 callers
Method
SetInt32
(name string, value int32)
config.go:244
↓ 1 callers
Method
SetInt64
(name string, value int64)
config.go:260
↓ 1 callers
Function
SetMwindowMappedLimit
(size int)
settings.go:84
↓ 1 callers
Function
SetMwindowSize
(size int)
settings.go:76
↓ 1 callers
Function
SetSearchPath
(level ConfigLevel, path string)
settings.go:57
↓ 1 callers
Method
ShortId
()
object.go:60
↓ 1 callers
Method
SmartCertificateCheck
SmartCertificateCheck calls the certificate check for this transport.
transport.go:122
↓ 1 callers
Method
SmartRemoteConnectOptions
SmartRemoteConnectOptions gets a copy of the proxy options for this transport.
transport.go:88
↓ 1 callers
Method
Src
Src returns the refspec's source specifier
refspec.go:50
↓ 1 callers
Method
Stats
()
diff.go:283
↓ 1 callers
Method
StatusFile
(path string)
status.go:180
↓ 1 callers
Method
SymbolicTarget
()
reference.go:258
↓ 1 callers
Method
TargetId
()
tag.go:55
↓ 1 callers
Method
Transform
Transform a reference to its target following the refspec's rules
refspec.go:113
↓ 1 callers
Method
TreeBuilder
()
repository.go:714
↓ 1 callers
Method
WithSignatureUsing
WithSignatureUsing creates a new signed commit from this one using the given signing callback
commit.go:85
↓ 1 callers
Method
Write
Write adds data to the indexer.
indexer.go:56
↓ 1 callers
Function
allocBlob
(ptr *C.git_blob, repo *Repository)
object.go:154
↓ 1 callers
Function
allocTag
(ptr *C.git_tag, repo *Repository)
object.go:176
↓ 1 callers
Function
applyOptionsFromC
(copts *C.git_apply_options)
diff.go:1005
↓ 1 callers
Function
assertHostname
(cert *Certificate, valid bool, hostname string, t *testing.T)
remote_test.go:41
↓ 1 callers
Function
certificateCheckCallback
export certificateCheckCallback
remote.go:449
↓ 1 callers
Function
checkAllCommitsSigned
(t *testing.T, entity *openpgp.Entity, repo *Repository)
rebase_test.go:294
↓ 1 callers
Function
checkPkg
(pkg *ast.Package)
script/check-MakeGitError-thread-lock.go:51
↓ 1 callers
Function
checkShortId
(t *testing.T, Id, shortId string)
object_test.go:109
↓ 1 callers
Function
cherrypickOptionsFromC
(c *C.git_cherrypick_options)
cherrypick.go:17
↓ 1 callers
Function
cleanupConfig
()
config_test.go:41
← previous
next →
301–400 of 945, ranked by callers