MCPcopy Create free account

hub / github.com/libgit2/git2go / functions

Functions945 in github.com/libgit2/git2go

↓ 2 callersMethodNewBranchIterator
(flags BranchType)
branch.go:85
↓ 2 callersFunctionNewCredentialUsername
(username string)
credentials.go:138
↓ 2 callersFunctionNewOdb
()
odb.go:34
↓ 2 callersFunctionNewOdbBackendFromC
(ptr unsafe.Pointer)
odb.go:49
↓ 2 callersFunctionNewOidFromBytes
(b []byte)
git.go:209
↓ 2 callersMethodNewReferenceIterator
NewReferenceIterator creates a new iterator over reference names
reference.go:379
↓ 2 callersMethodNewWriteStream
NewWriteStream opens a write stream to the ODB, which allows you to create a new object in the database. The size and type must be known in advance
odb.go:300
↓ 2 callersMethodNext
Next retrieves the next reference. If the iterationis over, the returned error code is git.ErrorCodeIterOver
reference.go:450
↓ 2 callersMethodParentCount
()
commit.go:185
↓ 2 callersMethodPatch
(deltaIndex int)
diff.go:418
↓ 2 callersMethodRemove
(filename string)
tree.go:213
↓ 2 callersMethodSave
Save saves the local modifications to a new stash. Stasher is the identity of the person performing the stashing. Message is the optional description
stash.go:47
↓ 2 callersMethodSetString
(name, value string)
config.go:220
↓ 2 callersMethodShorthand
Shorthand returns a "human-readable" short reference name.
reference.go:318
↓ 2 callersFunctionShutdown
Shutdown frees all the resources acquired by libgit2. Make sure no references to any git2go objects are live before calling this. After this is called
git.go:177
↓ 2 callersMethodSmartCredentials
SmartCredentials calls the credentials callback for this transport.
transport.go:101
↓ 2 callersMethodSrcMatches
SrcMatches checks if a refspec's source descriptor matches a reference
refspec.go:95
↓ 2 callersMethodStateCleanup
()
repository.go:770
↓ 2 callersMethodWithSignature
WithSignature creates a new signed commit from the given signature and signature field
commit.go:95
↓ 2 callersFunctionallocCommit
(ptr *C.git_commit, repo *Repository)
object.go:132
↓ 2 callersFunctionallocTree
(ptr *C.git_tree, repo *Repository)
object.go:110
↓ 2 callersFunctionblameHunkFromC
(hunk *C.git_blame_hunk)
blame.go:154
↓ 2 callersFunctioncheckCommitSigned
(t *testing.T, entity *openpgp.Entity, commit *Commit)
rebase_test.go:313
↓ 2 callersFunctioncheckDescribeNoRefsFound
(t *testing.T, err error)
describe_test.go:93
↓ 2 callersFunctioncheckOwner
(t *testing.T, repo *Repository, obj Object)
object_test.go:81
↓ 2 callersFunctioncheckout
(t *testing.T, repo *Repository, commit *Commit)
cherrypick_test.go:8
↓ 2 callersFunctioncreateTestTrees
(t *testing.T, repo *Repository)
diff_test.go:180
↓ 2 callersFunctiondiffHunkFromC
(hunk *C.git_diff_hunk)
diff.go:106
↓ 2 callersFunctiondoublePointerBytes
()
blob_test.go:13
↓ 2 callersFunctionfileExistsInRepo
(repo *Repository, name string)
stash_test.go:193
↓ 2 callersFunctionfreeApplyOptions
(copts *C.git_apply_options)
diff.go:996
↓ 2 callersFunctionfreeCherrypickOpts
(copts *C.git_cherrypick_options)
cherrypick.go:37
↓ 2 callersFunctionfreeRevertOptions
(copts *C.git_revert_options)
revert.go:37
↓ 2 callersFunctionfreeStashApplyOptions
(copts *C.git_stash_apply_options)
stash.go:183
↓ 2 callersFunctiongetSizet
(opt C.int)
settings.go:137
↓ 2 callersFunctioninitLibGit2
()
git.go:139
↓ 2 callersFunctionnewChannelPipe
(t *testing.T, w io.Writer, wg *sync.WaitGroup)
remote_test.go:261
↓ 2 callersFunctionnewDescribeResultFromC
(ptr *C.git_describe_result)
describe.go:183
↓ 2 callersFunctionnewPatchFromC
(ptr *C.git_patch)
patch.go:17
↓ 2 callersFunctionnewRebaseFromC
(ptr *C.git_rebase, repo *Repository, opts *C.git_rebase_options)
rebase.go:481
↓ 2 callersFunctionnewRebaseOperationFromC
(c *C.git_rebase_operation)
rebase.go:66
↓ 2 callersFunctionnewSubmoduleFromC
(ptr *C.git_submodule, r *Repository)
submodule.go:28
↓ 2 callersFunctionpopulateApplyOptions
(copts *C.git_apply_options, opts *ApplyOptions, errorTarget *error)
diff.go:976
↓ 2 callersFunctionpopulateRebaseOptions
(copts *C.git_rebase_options, opts *RebaseOptions, repo *Repository, errorTarget *error)
rebase.go:236
↓ 2 callersFunctionpopulateStashApplyOptions
(copts *C.git_stash_apply_options, opts *StashApplyOptions, errorTarget *error)
stash.go:165
↓ 2 callersFunctionregisterManagedHTTP
()
http.go:22
↓ 2 callersFunctionseedTestRepoOpt
(t *testing.T, repo *Repository, opts commitOptions)
git_test.go:95
↓ 2 callersMethodsendRequest
()
http.go:187
↓ 2 callersFunctionsptr
(p uintptr)
remote.go:884
↓ 2 callersFunctiontoPointer
(data []byte)
patch.go:60
↓ 2 callersFunctionunregisterManagedTransports
unregisterManagedTransports unregisters all git2go-managed transports.
transport.go:45
↓ 2 callersMethoduntrack
untrack stops tracking the git_remote pointer.
remote.go:225
↓ 2 callersMethoduntrackRemote
(r *Remote)
remote.go:644
↓ 1 callersMethodAbort
Abort aborts a rebase that is currently in progress, resetting the repository and working directory to their state before rebase began.
rebase.go:462
↓ 1 callersMethodAction
Action creates a SmartSubtransportStream for the provided url and requested action.
transport.go:183
↓ 1 callersMethodAddFromBuffer
AddFromBuffer adds or replaces an index entry from a buffer in memory
index.go:208
↓ 1 callersMethodAnnotatedCommitFromRevspec
(spec string)
merge.go:100
↓ 1 callersMethodApplyToTree
ApplyToTree applies a Diff to a Tree and returns the resulting image as an Index.
diff.go:1053
↓ 1 callersMethodBlameFile
(path string, opts *BlameOptions)
blame.go:54
↓ 1 callersMethodCheckoutTree
(tree *Tree, opts *CheckoutOptions)
checkout.go:248
↓ 1 callersMethodCherrypick
(commit *Commit, opts CherrypickOptions)
cherrypick.go:59
↓ 1 callersMethodCherrypickCommit
(pick, our *Commit, opts CherrypickOptions)
cherrypick.go:79
↓ 1 callersMethodClear
Clear clears the index object in memory; changes must be explicitly written to disk for them to take effect persistently
index.go:159
↓ 1 callersMethodCommit
Commit finalizes the pack and index. It resolves any pending deltas and writes out the index file. It also returns the packfile's hash. A packfile's
indexer.go:78
↓ 1 callersMethodCopy
()
git.go:247
↓ 1 callersMethodCreateAnonymous
(url string)
remote.go:746
↓ 1 callersMethodCreateCommitFromIds
( refname string, author, committer *Signature, message string, tree *Oid, parents ...*Oid)
repository.go:587
↓ 1 callersMethodCreateWithOptions
CreateWithOptions Creates a repository object with extended options.
remote.go:689
↓ 1 callersFunctionDefaultDescribeFormatOptions
DefaultDescribeFormatOptions returns default options for formatting the output.
describe.go:75
↓ 1 callersFunctionDefaultDescribeOptions
DefaultDescribeOptions returns default options for the describe operation.
describe.go:41
↓ 1 callersFunctionDefaultDiffFindOptions
()
diff.go:575
↓ 1 callersFunctionDefaultDiffOptions
()
diff.go:520
↓ 1 callersFunctionDefaultRebaseOptions
DefaultRebaseOptions returns a RebaseOptions with default values.
rebase.go:213
↓ 1 callersFunctionDefaultRemoteCreateOptions
DefaultApplyOptions returns default options for remote create
remote.go:1216
↓ 1 callersMethodDelete
()
branch.go:120
↓ 1 callersMethodDeletions
()
diff.go:243
↓ 1 callersMethodDelta
(index int)
diff.go:150
↓ 1 callersMethodDescribeWorkdir
DescribeWorkdir describes the working tree. It means describe HEAD and appends <mark> (-dirty by default) if the working tree is dirty.
describe.go:141
↓ 1 callersFunctionDiffBlobs
DiffBlobs performs a diff between two arbitrary blobs. You can pass whatever file names you'd like for them to appear as in the diff.
diff.go:836
↓ 1 callersFunctionDiffFromBuffer
DiffFromBuffer reads the contents of a git patch file into a Diff object. The diff object produced is similar to the one that would be produced if yo
diff.go:1087
↓ 1 callersMethodDirection
Direction returns the refspec's direction
refspec.go:44
↓ 1 callersMethodDrop
Drop removes a single stashed state from the stash list. 'index' is the position within the stash list. 0 points to the most recent stashed state. R
stash.go:298
↓ 1 callersMethodDst
Dst returns the refspec's destination specifier
refspec.go:63
↓ 1 callersMethodDump
Dump dumps all the queued in-memory writes to a packfile. It is the caller's responsibility to ensure that the generated packfile is available to the
mempack.go:63
↓ 1 callersMethodDwim
Dwim looks up a reference by DWIMing its short name
reference.go:140
↓ 1 callersMethodEntryById
EntryById performs a lookup for a tree entry with the given SHA value. It returns a *TreeEntry that is owned by the Tree. You don't have to free it,
tree.go:72
↓ 1 callersMethodEntryByIndex
(index uint64)
tree.go:107
↓ 1 callersMethodExtractSignature
()
commit.go:103
↓ 1 callersFunctionFeatures
Features returns a bit-flag of Feature values indicating which features the loaded libgit2 library has.
features.go:26
↓ 1 callersMethodFilesChanged
()
diff.go:249
↓ 1 callersMethodFindSimilar
(opts *DiffFindOptions)
diff.go:195
↓ 1 callersMethodForEach
(f BranchIteratorFunc)
branch.go:68
↓ 1 callersMethodForEach
ForEach repeatedly calls the callback with new packfile data until there is no more data or the callback returns an error
packbuilder.go:163
↓ 1 callersMethodForce
Force returns the refspec's force-update setting
refspec.go:76
↓ 1 callersMethodFree
()
index.go:447
↓ 1 callersMethodFree
()
repository.go:655
↓ 1 callersMethodFree
Free releases all resources used by the RegisteredSmartTransport and unregisters the custom transport definition referenced by it.
transport.go:281
↓ 1 callersMethodFree
Free frees the indexer and its resources.
indexer.go:93
↓ 1 callersMethodFrom
()
revparse.go:33
↓ 1 callersMethodGetSSHKey
GetSSHKey returns the SSH-specific key information from the Cred object.
credentials.go:124
← previousnext →201–300 of 945, ranked by callers