MCPcopy Create free account

hub / github.com/libgit2/git2go / functions

Functions945 in github.com/libgit2/git2go

↓ 500 callersFunctioncheckFatal
(t *testing.T, err error)
index_test.go:271
↓ 322 callersFunctionMakeGitError
(c C.int)
git.go:319
↓ 206 callersMethodfree
free releases the resources of the Remote.
remote.go:612
↓ 101 callersMethodFree
Free releases the resources of the SmartSubtransport.
transport.go:196
↓ 94 callersFunctioncleanupTestRepo
(t *testing.T, r *Repository)
git_test.go:49
↓ 91 callersFunctioncreateTestRepo
(t *testing.T)
git_test.go:61
↓ 77 callersMethodtoC
()
git.go:215
↓ 60 callersMethodString
()
git.go:239
↓ 60 callersFunctionseedTestRepo
(t *testing.T, repo *Repository)
git_test.go:91
↓ 38 callersMethodLookupCommit
(id *Oid)
repository.go:262
↓ 37 callersMethodGet
Get retrieves the pointer from the given handle
handles.go:58
↓ 33 callersFunctionnewOidFromC
(coid *C.git_oid)
git.go:199
↓ 30 callersMethodError
()
git.go:295
↓ 26 callersMethodCreate
(name string, obj Objecter, tagger *Signature, message string)
tag.go:72
↓ 26 callersMethodLookupTree
(id *Oid)
repository.go:241
↓ 25 callersMethodUntrack
Untrack stops tracking the pointer given by the handle
handles.go:40
↓ 25 callersFunctioncbool
(b bool)
git.go:342
↓ 23 callersFunctionsetCallbackError
(errorMessage **C.char, err error)
git.go:356
↓ 22 callersMethodId
Id returns the note object's id
note.go:172
↓ 22 callersMethodTrack
Track adds the given pointer to the list of pointers to track and returns a pointer value which can be passed to C as an opaque pointer.
handles.go:29
↓ 20 callersFunctioncompareStrings
(t *testing.T, expected, value string)
tag_test.go:173
↓ 18 callersMethodWrite
(data []byte, otype ObjectType)
odb.go:139
↓ 17 callersMethodLookup
(id *Oid)
repository.go:232
↓ 17 callersFunctionset_callback_error
* Sets the thread-local error to the provided string. This needs to happen in * C because Go might change Goroutines _just_ before returning, which w
wrapper.c:103
↓ 16 callersFunctionnewReferenceFromC
(ptr *C.git_reference, repo *Repository)
reference.go:157
↓ 15 callersMethodIndex
()
repository.go:188
↓ 15 callersFunctionupdateReadme
(t *testing.T, repo *Repository, content string)
git_test.go:148
↓ 14 callersMethodClose
Close closes the SmartSubtransport. Subtransports are guaranteed a call to Close between calls to Action, except for the following two "natural" prog
transport.go:193
↓ 14 callersFunctionIsErrorCode
(err error, c ErrorCode)
git.go:309
↓ 13 callersFunctionfreeStrarray
(arr *C.git_strarray)
remote.go:909
↓ 13 callersFunctionpathInRepo
(repo *Repository, name string)
git_test.go:144
↓ 12 callersMethodType
()
object.go:75
↓ 12 callersFunctionmakeCStringsFromStrings
(s []string)
remote.go:898
↓ 12 callersFunctionnewSignatureFromC
(sig *C.git_signature)
signature.go:19
↓ 11 callersMethodOdb
()
repository.go:665
↓ 11 callersFunctionfreeCheckoutOptions
(copts *C.git_checkout_options)
checkout.go:182
↓ 11 callersFunctionpopulateCheckoutOptions
populateCheckoutOptions populates the provided C-struct with the contents of the provided CheckoutOptions struct. Returns copts, or nil if opts is ni
checkout.go:142
↓ 10 callersMethodAddByPath
(path string)
index.go:191
↓ 10 callersMethodCmp
(oid2 *Oid)
git.go:243
↓ 10 callersMethodCreateCommit
( refname string, author, committer *Signature, message string, tree *Tree, parents ...*Commit)
repository.go:432
↓ 10 callersMethodEqual
(oid2 *Oid)
git.go:252
↓ 10 callersFunctionNewOid
(s string)
git.go:219
↓ 10 callersMethodPath
Path returns the index' path on disk or an empty string if it exists only in memory.
index.go:151
↓ 10 callersMethodTarget
()
tag.go:44
↓ 10 callersMethodWriteTreeTo
(repo *Repository)
index.go:387
↓ 10 callersFunctionallocObject
(cobj *C.git_object, repo *Repository)
object.go:230
↓ 10 callersFunctionsignature
()
rebase_test.go:436
↓ 9 callersMethodAdd
Add adds or replaces the given entry to the index, making a copy of the data
index.go:173
↓ 9 callersMethodMessage
()
tag.go:25
↓ 9 callersMethodName
()
tag.go:31
↓ 9 callersMethodRead
(oid *Oid)
odb.go:162
↓ 9 callersMethodWriteTree
()
index.go:419
↓ 9 callersFunctionnewIndexFromC
(ptr *C.git_index, repo *Repository)
index.go:110
↓ 9 callersFunctionnewRepositoryFromC
(ptr *C.git_repository)
repository.go:45
↓ 9 callersFunctionsetSizet
(opt C.int, val int)
settings.go:163
↓ 8 callersMethodApplyDiff
ApplyDiff appllies a Diff to the given repository, making changes directly in the working directory, the index, or both.
diff.go:1030
↓ 8 callersMethodDiffTreeToTree
(oldTree, newTree *Tree, opts *DiffOptions)
diff.go:689
↓ 8 callersMethodHead
()
repository.go:325
↓ 8 callersMethodWorkdir
()
repository.go:693
↓ 8 callersFunctionfreeMergeOptions
(copts *C.git_merge_options)
merge.go:187
↓ 8 callersFunctionnewCredential
()
credentials.go:87
↓ 8 callersFunctionnewIndexEntryFromC
(entry *C.git_index_entry)
index.go:75
↓ 8 callersFunctionpopulateMergeOptions
(copts *C.git_merge_options, opts *MergeOptions)
merge.go:174
↓ 8 callersFunctionuntrackCallbacksPayload
(callbacks *C.git_remote_callbacks)
remote.go:322
↓ 7 callersMethodDescribe
Describe performs the describe operation on the commit.
describe.go:106
↓ 7 callersMethodPeel
Peel recursively peels an object until an object of the specified type is met. If the query cannot be satisfied due to the object model, ErrorCodeInv
object.go:215
↓ 7 callersMethodType
()
odb.go:365
↓ 7 callersFunctioncommitSomething
(repo *Repository, something, content string, commitOpts commitOptions)
rebase_test.go:474
↓ 7 callersFunctioncompareStringList
(t *testing.T, expected, actual []string)
reference_test.go:254
↓ 7 callersFunctionfreeDiffOptions
(copts *C.git_diff_options)
diff.go:677
↓ 7 callersFunctionmakeStringsFromCStrings
(x **C.char, l int)
remote.go:888
↓ 7 callersFunctionpopulateDiffOptions
(copts *C.git_diff_options, opts *DiffOptions, repo *Repository, errorTarget *error)
diff.go:646
↓ 6 callersMethodConnectFetch
(callbacks *RemoteCallbacks, proxyOpts *ProxyOptions, headers []string)
remote.go:1068
↓ 6 callersMethodEntryCount
()
tree.go:118
↓ 6 callersMethodForEach
(callback OdbForEachCallback)
odb.go:227
↓ 6 callersMethodFormat
Format prints the DescribeResult as a string.
describe.go:192
↓ 6 callersMethodState
()
repository.go:760
↓ 6 callersMethodTree
()
commit.go:132
↓ 6 callersFunctioncreateTag
(t *testing.T, repo *Repository, commit *Commit, name, message string)
tag_test.go:193
↓ 6 callersFunctiondiffDeltaFromC
(delta *C.git_diff_delta)
diff.go:88
↓ 6 callersFunctionheadCommit
(repo *Repository)
rebase_test.go:444
↓ 6 callersFunctionnewDiffFromC
(ptr *C.git_diff, repo *Repository)
diff.go:165
↓ 6 callersFunctionnewTreeEntry
(entry *C.git_tree_entry)
tree.go:43
↓ 6 callersFunctionpopulateRemoteCallbacks
(ptr *C.git_remote_callbacks, callbacks *RemoteCallbacks, errorTarget *error)
remote.go:329
↓ 6 callersFunctionreadReadme
(t *testing.T, repo *Repository)
cherrypick_test.go:27
↓ 5 callersMethodAsTree
()
object.go:123
↓ 5 callersMethodConfig
()
repository.go:155
↓ 5 callersMethodContentToSign
ContentToSign returns the content that will be passed to a signing function for this commit
commit.go:64
↓ 5 callersMethodLookupBlob
(id *Oid)
repository.go:283
↓ 5 callersFunctionNewIndex
NewIndex allocates a new index. It won't be associated with any file on the filesystem or repository
index.go:118
↓ 5 callersMethodNext
(id *Oid)
walk.go:166
↓ 5 callersMethodRemoveAll
(pathspecs []string, callback IndexMatchedPathCallback)
index.go:302
↓ 5 callersMethodResetToCommit
(commit *Commit, resetType ResetType, opts *CheckoutOptions)
reset.go:17
↓ 5 callersMethodToBuf
(format DiffFormat)
diff.go:446
↓ 5 callersFunctionaddAndGetTree
addAndGetTree creates a file and commits it, returning the commit and tree
diff_test.go:649
↓ 5 callersFunctionappendCommit
(t *testing.T, repo *Repository)
merge_test.go:125
↓ 5 callersFunctiondiffFileFromC
(file *C.git_diff_file)
diff.go:70
↓ 5 callersFunctionfreeCIndexEntry
(entry *C.git_index_entry)
index.go:106
↓ 5 callersFunctionfreeRebaseOptions
(copts *C.git_rebase_options)
rebase.go:261
↓ 5 callersMethodlookupPrefixType
(id *Oid, prefix uint, t ObjectType)
repository.go:217
next →1–100 of 945, ranked by callers