MCPcopy Create free account

hub / github.com/go-git/go-git / functions

Functions4,185 in github.com/go-git/go-git

↓ 1 callersMethodaddBlames
(curItems []*queueItem)
blame.go:180
↓ 1 callersMethodaddCommit
(rs config.RefSpec, remoteRefs storer.ReferenceStorer, localCommit plumbing.Hash, req *packp.ReferenceUpdate
remote.go:713
↓ 1 callersMethodaddIndexFromFile
(name string, h plumbing.Hash, idx *indexBuilder)
worktree.go:728
↓ 1 callersMethodaddIndexFromTreeEntry
(name string, f *object.TreeEntry, idx *indexBuilder)
worktree.go:718
↓ 1 callersMethodaddLineNumbers
addLineNumbers obtains the line numbers in a new chunk.
plumbing/format/diff/unified_encoder.go:257
↓ 1 callersMethodaddOffset64
(pos uint64)
plumbing/format/idxfile/writer.go:169
↓ 1 callersMethodaddOrUpdateReferences
( rs config.RefSpec, localRefs []*plumbing.Reference, refsDict map[string]*plumbing.Reference, remoteRefs
remote.go:642
↓ 1 callersFunctionaddPendingParents
(pending, visited map[plumbing.Hash]bool, commit *object.Commit)
plumbing/revlist/revlist.go:169
↓ 1 callersMethodaddReachableTags
(localRefs []*plumbing.Reference, remoteRefs storer.ReferenceStorer, req *packp.ReferenceUpdateRequest)
remote.go:240
↓ 1 callersMethodaddRefFromHEAD
(refs *[]*plumbing.Reference)
storage/filesystem/dotgit/dotgit.go:988
↓ 1 callersFunctionaddReference
( repoStorer storage.Storer, commitIterFunc func(*Commit) CommitIter, ref *plumbing.Reference, commitsPath
plumbing/object/commit_walker.go:237
↓ 1 callersMethodaddReferenceIfRefSpecMatches
(rs config.RefSpec, remoteRefs storer.ReferenceStorer, localRef *plumbing.Reference, req *packp.ReferenceUpd
remote.go:750
↓ 1 callersMethodaddReferencesToUpdate
( refspecs []config.RefSpec, localRefs []*plumbing.Reference, remoteRefs storer.ReferenceStorer, req *pack
remote.go:606
↓ 1 callersMethodaddRefs
(s storer.ReferenceStorer)
plumbing/protocol/packp/advrefs.go:79
↓ 1 callersMethodaddRefsFromPackedRefs
(refs *[]*plumbing.Reference, seen map[plumbing.ReferenceName]bool)
storage/filesystem/dotgit/dotgit.go:809
↓ 1 callersMethodaddRefsFromPackedRefsFile
(refs *[]*plumbing.Reference, f billy.File, seen map[plumbing.ReferenceName]bool)
storage/filesystem/dotgit/dotgit.go:813
↓ 1 callersFunctionaddRemote
(local, remote string)
_examples/common_test.go:135
↓ 1 callersMethodaddSymbolicRefs
(s storer.ReferenceStorer)
plumbing/protocol/packp/advrefs.go:183
↓ 1 callersMethodaddToQueue
addToQueue adds the passed commits to the internal fifo queue if they weren't seen or returns an error if the passed hashes could not be used to get v
plumbing/object/commit_walker_bfs_filtered.go:157
↓ 1 callersMethodaddTransport
(opts transportOptions, transport *http.Transport)
plumbing/transport/http/transport.go:16
↓ 1 callersFunctionancestorsIndex
ancestorsIndex returns a map with the ancestors of the starting commit if the excluded one is not one of them. It returns errIsReachable if the exclud
plumbing/object/merge_base.go:64
↓ 1 callersMethodappendHash
(store storer.EncodedObjectStorer, h plumbing.Hash)
plumbing/object/commit_walker_bfs.go:40
↓ 1 callersMethodappendPathLines
(lines []string, fromPath, toPath string, isBinary bool)
plumbing/format/diff/unified_encoder.go:165
↓ 1 callersFunctionapplyNeeds
(child *queueItem, needsMap []lineMap, identicalToChild bool, parentNo int)
blame.go:409
↓ 1 callersFunctionapplyPatchBase
applyPatchBase applies the patch to target. Note that ota will be updated based on the description in resolveObject.
plumbing/format/packfile/parser.go:537
↓ 1 callersMethodapplyURLRules
(urlRules map[string]*URL)
config/config.go:681
↓ 1 callersFunctionasciiHex16
Returns the hexadecimal ascii representation of the 16 less significant bits of n. The length of the returned slice will always be 4. Example: if n
plumbing/format/pktline/encoder.go:88
↓ 1 callersFunctionasciiHexToByte
turns the hexadecimal ascii representation of a byte into its numerical value. Example: from 'b' to 11 (0xb).
plumbing/format/pktline/scanner.go:137
↓ 1 callersFunctionassertChanges
(a Changes, c *C)
plumbing/object/difftree_test.go:67
↓ 1 callersFunctionasyncReader
(p *Packfile)
plumbing/format/packfile/packfile.go:290
↓ 1 callersMethodautoAddModifiedAndDeleted
()
worktree_commit.go:82
↓ 1 callersFunctionbasicAuthFromEndpoint
(ep *transport.Endpoint)
plumbing/transport/http/common.go:338
↓ 1 callersFunctionbestNameMatch
(change *Change, changes []*Change)
plumbing/object/rename.go:268
↓ 1 callersFunctionblobHash
(path string, commit *object.Commit)
blame.go:584
↓ 1 callersMethodbuildBasicRepository
(_ *C)
common_test.go:42
↓ 1 callersFunctionbuildCommand
(c []string)
plumbing/transport/ssh/upload_pack_test.go:128
↓ 1 callersFunctionbuildCommand
(c []string)
plumbing/transport/ssh/internal/test/test_utils.go:52
↓ 1 callersMethodbuildCommitObject
(msg string, opts *CommitOptions, tree plumbing.Hash)
worktree_commit.go:122
↓ 1 callersMethodbuildFetchedTags
(refs memory.ReferenceStorage)
remote.go:1297
↓ 1 callersMethodbuildIndex
()
storage/filesystem/dotgit/writers.go:58
↓ 1 callersMethodbuildPackfileIters
( t plumbing.ObjectType, seen map[plumbing.Hash]struct{}, )
storage/filesystem/object.go:617
↓ 1 callersFunctionbuildSidebandIfSupported
(l *capability.List, reader io.Reader, p sideband.Progress)
remote.go:1202
↓ 1 callersFunctionbuildSimilarityMatrix
(srcs, dsts []*Change, renameScore int)
plumbing/object/rename.go:408
↓ 1 callersMethodbuildTagSignature
(tag *object.Tag, signKey *openpgp.Entity)
repository.go:803
↓ 1 callersFunctionbyteToASCIIHex
turns a byte into its hexadecimal ascii representation. Example: from 11 (0xb) to 'b'.
plumbing/format/pktline/encoder.go:100
↓ 1 callersMethodcalculateHash
hash is calculated as the hash of "dir " plus the concatenation, for each child, of its name, a space and its hash. Children are sorted alphabeticall
utils/merkletrie/internal/fsnoder/dir.go:84
↓ 1 callersMethodcalculateHash
()
utils/merkletrie/filesystem/node.go:150
↓ 1 callersFunctioncalculateRefs
( spec []config.RefSpec, remoteRefs storer.ReferenceStorer, tagMode TagMode, )
remote.go:962
↓ 1 callersMethodcalculateRemoteHeadReference
(spec []config.RefSpec, resolvedHead *plumbing.Reference)
repository.go:1132
↓ 1 callersFunctioncheckFirstAndDrop
(c *C, f *Frame, expectedNodeName string, expectedOK bool)
utils/merkletrie/internal/frame/frame_test.go:81
↓ 1 callersMethodcheckForceWithLease
(localRef *plumbing.Reference, cmd *packp.Command, forceWithLease *ForceWithLease)
remote.go:798
↓ 1 callersFunctioncheckIfCleanupIsNeeded
(path string)
repository.go:504
↓ 1 callersFunctioncheckIfError
(err error, code exitCode, mainReason string, v ...interface{})
_examples/merge_base/helpers.go:11
↓ 1 callersFunctioncheckMacro
(name string, allowMacro bool)
plumbing/format/gitattributes/attributes.go:170
↓ 1 callersMethodcheckRefFormat
checkRefFormat ensure reference name follow rules defined here : https://git-scm.com/docs/git-check-ref-format
internal/revision/parser.go:602
↓ 1 callersMethodcheckReferenceAndTruncate
(f billy.File, old *plumbing.Reference)
storage/filesystem/dotgit/dotgit.go:668
↓ 1 callersMethodcheckRequireRemoteRefs
(requires []config.RefSpec, remoteRefs storer.ReferenceStorer)
remote.go:1500
↓ 1 callersMethodcheckoutChange
(ch merkletrie.Change, t *object.Tree, idx *indexBuilder)
worktree.go:509
↓ 1 callersMethodcheckoutChangeRegularFile
(name string, a merkletrie.Action, t *object.Tree, e *object.TreeEntry, idx *indexBuilder, )
worktree.go:618
↓ 1 callersMethodcheckoutChangeSubmodule
(name string, a merkletrie.Action, e *object.TreeEntry, idx *indexBuilder, )
worktree.go:585
↓ 1 callersMethodcheckoutFile
(f *object.File)
worktree.go:651
↓ 1 callersMethodcheckoutFileSymlink
(f *object.File)
worktree.go:680
↓ 1 callersFunctioncleanUpDir
(path string, all bool)
repository.go:530
↓ 1 callersFunctioncloneRepo
(url, dir, publicKeyPath string)
_examples/tag-create-push/main.go:45
↓ 1 callersFunctioncloneRepository
(url, folder string)
_examples/common_test.go:91
↓ 1 callersMethodclose
close closes the CommitIter with an error
plumbing/object/commit_walker_bfs_filtered.go:126
↓ 1 callersMethodcommitFromStorer
(c *C, sto storer.EncodedObjectStorer, h plumbing.Hash)
plumbing/object/difftree_test.go:33
↓ 1 callersMethodcommitIndexEntry
(e *index.Entry)
worktree_commit.go:195
↓ 1 callersFunctioncompactChanges
(changes []*Change)
plumbing/object/rename.go:523
↓ 1 callersFunctioncomposeIgnores
composeIgnores composes the ignore list with the provided seenExternal list
plumbing/object/commitgraph/commitnode_walker_helper.go:143
↓ 1 callersFunctionconcat
utility function to concat slices
blame_test.go:114
↓ 1 callersFunctionconfigureTransport
(transport *http.Transport, ep *transport.Endpoint)
plumbing/transport/http/common.go:207
↓ 1 callersMethodconnect
()
plumbing/transport/git/common.go:58
↓ 1 callersMethodconnect
connect connects to the SSH server, unless a AuthMethod was set with SetAuth method, by default uses an auth method based on PublicKeysCallback, it co
plumbing/transport/ssh/common.go:112
↓ 1 callersFunctioncontains
(haystack []string, needle string)
plumbing/format/config/option.go:119
↓ 1 callersMethodcontainsUnstagedChanges
()
worktree.go:539
↓ 1 callersMethodcopyEntries
(scanner *deltaIndexScanner)
plumbing/format/packfile/delta_index.go:92
↓ 1 callersFunctioncopyFile
(c *C, dstDir, dstFilename string, srcFile billy.File)
storage/filesystem/object_test.go:285
↓ 1 callersMethodcopyFileToStorage
(path string)
worktree_status.go:461
↓ 1 callersMethodcopyNewFile
(tmp billy.File, pr billy.File)
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go:65
↓ 1 callersMethodcopyObject
ReadRegularObject reads and write a non-deltified object from it zlib stream in an object entry in the packfile.
plumbing/format/packfile/scanner.go:338
↓ 1 callersMethodcopyToExistingFile
(tmp, pr billy.File)
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go:47
↓ 1 callersMethodcopyTreeToStorageRecursive
(parent string, t *object.Tree)
worktree_commit.go:243
↓ 1 callersFunctioncountEntries
(scan *deltaIndexScanner)
plumbing/format/packfile/delta_index.go:62
↓ 1 callersFunctioncreateBareRepository
(dir string)
_examples/common_test.go:99
↓ 1 callersMethodcreateBranch
(opts *CheckoutOptions)
worktree.go:201
↓ 1 callersFunctioncreateDotGitFile
(worktree, storage billy.Filesystem)
repository.go:158
↓ 1 callersMethodcreateHeadIfCorrectReference
( reference *plumbing.Reference, s storer.ReferenceStorer)
plumbing/protocol/packp/advrefs.go:168
↓ 1 callersMethodcreateNewObjectPack
createNewObjectPack is a helper for RepackObjects taking care of creating a new pack. It is used so the PackfileWriter deferred close has the right sc
repository.go:1812
↓ 1 callersFunctioncreateRepositoryWithRemote
(local, remote string)
_examples/common_test.go:116
↓ 1 callersMethodcreateTagObject
(name string, hash plumbing.Hash, opts *CreateTagOptions)
repository.go:768
↓ 1 callersMethodcreateTestObjects
()
plumbing/format/packfile/delta_selector_test.go:135
↓ 1 callersMethodcurrent
Returns the path to the current node, adding the base if there was one, and a nil error. If there were no noders left, it returns nil and io.EOF. If
utils/merkletrie/iter.go:177
↓ 1 callersMethoddecodeACKLine
(line []byte)
plumbing/protocol/packp/srvresp.go:117
↓ 1 callersFunctiondecodeChild
A child can be a file or a dir.
utils/merkletrie/internal/fsnoder/new.go:117
↓ 1 callersFunctiondecodeChildren
(data []byte)
utils/merkletrie/internal/fsnoder/new.go:72
↓ 1 callersMethoddecodeCommandStatus
(b []byte)
plumbing/protocol/packp/report_status.go:121
↓ 1 callersMethoddecodeDeltaObjectAt
( p *packfile.Packfile, offset int64, hash plumbing.Hash, )
storage/filesystem/object.go:501
↓ 1 callersMethoddecodeLine
(line []byte)
plumbing/protocol/packp/srvresp.go:99
↓ 1 callersFunctiondecodeOffset
(cmd byte, delta []byte)
plumbing/format/packfile/patch_delta.go:463
← previousnext →1,301–1,400 of 4,185, ranked by callers