MCPcopy Create free account

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

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

↓ 2 callersFunctioncountLines
countLines returns the number of lines in a string à la git, this is The newline character is assumed to be '\n'. The empty string contains 0 lines.
common.go:9
↓ 2 callersMethodcreateIndex
creatIndex returns a filled MemoryIndex with the information filled by the observer callbacks.
plumbing/format/idxfile/writer.go:93
↓ 2 callersFunctioncreateRepository
(dir string, isBare bool)
_examples/common_test.go:103
↓ 2 callersFunctiondecodeFile
(data []byte)
utils/merkletrie/internal/fsnoder/new.go:142
↓ 2 callersFunctiondecodeLEB128
Decodes a number encoded as an unsigned LEB128 at the start of some binary data and returns the decoded number and the rest of the stream. This must
plumbing/format/packfile/patch_delta.go:405
↓ 2 callersFunctiondecodeLEB128ByteReader
(input io.ByteReader)
plumbing/format/packfile/patch_delta.go:421
↓ 2 callersMethoddecodeLine
(line, prefix []byte, expLen int)
plumbing/protocol/packp/shallowupd.go:67
↓ 2 callersMethoddecodeObjectAt
( p *packfile.Packfile, offset int64, )
storage/filesystem/object.go:482
↓ 2 callersFunctiondecodeOffsetByteReader
(cmd byte, delta io.ByteReader)
plumbing/format/packfile/patch_delta.go:448
↓ 2 callersFunctiondecodeSizeByteReader
(cmd byte, delta io.ByteReader)
plumbing/format/packfile/patch_delta.go:478
↓ 2 callersMethoddeltaOverDeltaCyclicTest
(c *C)
plumbing/format/packfile/encoder_test.go:196
↓ 2 callersMethoddeltaOverDeltaTest
(c *C)
plumbing/format/packfile/encoder_test.go:153
↓ 2 callersMethoddeltaSizeLimit
(targetSize int64, baseDepth int, targetDepth int, targetDelta bool)
plumbing/format/packfile/delta_selector.go:322
↓ 2 callersMethoddetectExactRenames
detectExactRenames detects matches files that were deleted with files that were added where the hash is the same on both. If there are multiple target
plumbing/object/rename.go:68
↓ 2 callersFunctiondiffDelta
(index *deltaIndex, src []byte, tgt []byte)
plumbing/format/packfile/diff_delta.go:84
↓ 2 callersMethoddiffTreeWithStaging
(t *object.Tree, reverse bool)
worktree_status.go:227
↓ 2 callersMethoddir
(baseName string)
plumbing/object/tree.go:167
↓ 2 callersMethoddoAdd
(path string, ignorePattern []gitignore.Pattern, skipStatus bool)
worktree_status.go:336
↓ 2 callersMethoddoAddDirectory
(idx *index.Index, s Status, directory string, ignorePattern []gitignore.Pattern)
worktree_status.go:277
↓ 2 callersMethoddoTestFetchNoErrAlreadyUpToDate
(c *C, url string)
remote_test.go:450
↓ 2 callersMethoddoUpdateFileToIndex
(e *index.Entry, filename string, h plumbing.Hash)
worktree_status.go:533
↓ 2 callersFunctiondotGitToOSFilesystems
(path string, detect bool)
repository.go:334
↓ 2 callersMethodencode
(o plumbing.EncodedObject, includeSig bool)
plumbing/object/tag.go:152
↓ 2 callersMethodencode
(o plumbing.EncodedObject, includeSig bool)
plumbing/object/commit.go:287
↓ 2 callersMethodencodeOptions
(opts Options)
plumbing/format/config/encoder.go:62
↓ 2 callersMethodentry
(o *ObjectToPack)
plumbing/format/packfile/encoder.go:84
↓ 2 callersMethodentryHead
(typeNum plumbing.ObjectType, size int64)
plumbing/format/packfile/encoder.go:179
↓ 2 callersFunctioneventually
(c *C, condition func() bool)
remote_test.go:602
↓ 2 callersMethodfetchTransport
(opts transportOptions)
plumbing/transport/http/transport.go:28
↓ 2 callersFunctionfileSimilarityIndex
(f *File)
plumbing/object/rename.go:557
↓ 2 callersMethodfillOFSDeltaObjectContentWithBuffer
(obj plumbing.EncodedObject, offset int64, buf *bytes.Buffer)
plumbing/format/packfile/packfile.go:443
↓ 2 callersMethodfillREFDeltaObjectContentWithBuffer
(obj plumbing.EncodedObject, ref plumbing.Hash, buf *bytes.Buffer)
plumbing/format/packfile/packfile.go:399
↓ 2 callersMethodfindPackedRefs
(recv refsRecv)
storage/filesystem/dotgit/dotgit.go:752
↓ 2 callersMethodfindPackedRefsInFile
(f billy.File, recv refsRecv)
storage/filesystem/dotgit/dotgit.go:730
↓ 2 callersFunctionfinishNeeds
(curItem *queueItem)
blame.go:369
↓ 2 callersMethodforEachObjectHash
(fun func(plumbing.Hash) error)
storage/filesystem/dotgit/dotgit.go:441
↓ 2 callersFunctionforEachReferenceIter
(iter bareReferenceIterator, cb func(*plumbing.Reference) error)
plumbing/storer/reference.go:142
↓ 2 callersMethodgenPackList
()
storage/filesystem/dotgit/dotgit.go:523
↓ 2 callersMethodget
(pos int64)
plumbing/format/packfile/parser_test.go:210
↓ 2 callersMethodgetCRC32
(firstLevel, secondLevel int)
plumbing/format/idxfile/idxfile.go:166
↓ 2 callersFunctiongetDelta
(index *deltaIndex, base, target plumbing.EncodedObject)
plumbing/format/packfile/diff_delta.go:35
↓ 2 callersMethodgetDeltaObjectSize
(buf *bytes.Buffer)
plumbing/format/packfile/packfile.go:129
↓ 2 callersFunctiongetFileStatsFromFilePatches
(filePatches []fdiff.FilePatch)
plumbing/object/patch.go:289
↓ 2 callersFunctiongetHaves
( localRefs []*plumbing.Reference, remoteRefStorer storer.ReferenceStorer, s storage.Storer, depth int, )
remote.go:921
↓ 2 callersMethodgetNextMemoryObject
(h *ObjectHeader)
plumbing/format/packfile/packfile.go:333
↓ 2 callersMethodgetNextObject
(h *ObjectHeader, hash plumbing.Hash)
plumbing/format/packfile/packfile.go:207
↓ 2 callersMethodgetObjectSize
(h *ObjectHeader)
plumbing/format/packfile/packfile.go:136
↓ 2 callersMethodgetObjectType
(h *ObjectHeader)
plumbing/format/packfile/packfile.go:154
↓ 2 callersMethodgetTreeFromCommitHash
(commit plumbing.Hash)
worktree.go:757
↓ 2 callersMethodhasObject
(h plumbing.Hash)
storage/filesystem/dotgit/dotgit.go:500
↓ 2 callersFunctionhashBlock
(raw []byte, ptr int)
plumbing/format/packfile/delta_index.go:217
↓ 2 callersFunctionhashListAsMap
(l []plumbing.Hash)
storage/filesystem/object.go:858
↓ 2 callersFunctionincBytes
incBytes increments a byte slice, which involves incrementing the right-most byte, and following carry leftward. It makes a copy so that the provided
storage/filesystem/dotgit/dotgit.go:1244
↓ 2 callersMethodinit
()
plumbing/format/packfile/parser.go:160
↓ 2 callersFunctionisInvalid
isInvalid checks whether an error is an os.PathError with an os.ErrInvalid error inside. It also checks for the windows error, which is different from
plumbing/format/packfile/packfile.go:628
↓ 2 callersFunctioniterateCommitTrees
iterateCommitTrees iterate all reachable trees from the given commit
plumbing/revlist/revlist.go:178
↓ 2 callersFunctionloadPatterns
(fs billy.Filesystem, path string)
plumbing/format/gitattributes/dir.go:80
↓ 2 callersFunctionloadPatterns
(fs billy.Filesystem, path string)
plumbing/format/gitignore/dir.go:82
↓ 2 callersMethodmatches
(path string)
storage/filesystem/dotgit/dotgit_test.go:984
↓ 2 callersFunctionmax
(a, b int)
plumbing/object/rename.go:392
↓ 2 callersFunctionmin
(a, b int)
plumbing/object/rename.go:399
↓ 2 callersFunctionnewChanges
(original merkletrie.Changes)
utils/merkletrie/difftree_test.go:136
↓ 2 callersFunctionnewClient
(url string, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions)
remote.go:541
↓ 2 callersFunctionnewDeltaObject
( offset, length int64, t plumbing.ObjectType, parent *objectInfo, )
plumbing/format/packfile/parser.go:588
↓ 2 callersFunctionnewDeltaSelector
(s storer.EncodedObjectStorer)
plumbing/format/packfile/delta_selector.go:27
↓ 2 callersMethodnewEndpoint
(c *C, name string)
plumbing/transport/http/common_test.go:280
↓ 2 callersMethodnewEndpoint
(c *C, name string)
plumbing/transport/http/upload_pack_test.go:74
↓ 2 callersMethodnewEndpoint
(c *C, name string)
plumbing/transport/git/common_test.go:73
↓ 2 callersFunctionnewIndexBuilder
(idx *index.Index)
worktree.go:1103
↓ 2 callersFunctionnewIter
(root noder.Noder, base noder.Path)
utils/merkletrie/iter.go:81
↓ 2 callersFunctionnewKnownHosts
(files ...string)
plumbing/transport/ssh/auth_method.go:237
↓ 2 callersFunctionnewLogger
()
utils/trace/trace.go:18
↓ 2 callersFunctionnewObjectWalker
(s storage.Storer)
object_walker.go:20
↓ 2 callersFunctionnewPackWrite
(fs billy.Filesystem)
storage/filesystem/dotgit/writers.go:35
↓ 2 callersFunctionnewPackfileIter
( fs billy.Filesystem, f billy.File, t plumbing.ObjectType, seen map[plumbing.Hash]struct{}, index idxfil
storage/filesystem/object.go:744
↓ 2 callersFunctionnewParentgraphCommitNodeIter
(node CommitNode)
plumbing/object/commitgraph/commitnode.go:59
↓ 2 callersMethodnewSession
(s string, ep *transport.Endpoint, auth transport.AuthMethod)
plumbing/transport/internal/common/common.go:115
↓ 2 callersFunctionnewSyncedReader
(w io.Writer, r io.ReadSeeker)
storage/filesystem/dotgit/writers.go:170
↓ 2 callersFunctionnewUploadPackSession
(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions)
remote.go:523
↓ 2 callersMethodnextObjectHeader
nextObjectHeader returns the ObjectHeader for the next object in the reader without the Offset field
plumbing/format/packfile/scanner.go:189
↓ 2 callersFunctionnot
(filter CommitFilter)
plumbing/object/commit_walker_bfs_filtered_test.go:53
↓ 2 callersFunctionobjectEquals
(a plumbing.EncodedObject, b plumbing.EncodedObject)
storage/test/storage_suite.go:486
↓ 2 callersMethodobjectPackOpen
(hash plumbing.Hash, extension string)
storage/filesystem/dotgit/dotgit.go:267
↓ 2 callersMethodobjectPackPath
(hash plumbing.Hash, extension string)
storage/filesystem/dotgit/dotgit.go:263
↓ 2 callersMethodobjectPacks
()
storage/filesystem/dotgit/dotgit.go:234
↓ 2 callersMethodobjectsToPack
( hashes []plumbing.Hash, packWindow uint, )
plumbing/format/packfile/delta_selector.go:87
↓ 2 callersMethodopenAndLockPackedRefs
(doCreate bool)
storage/filesystem/dotgit/dotgit.go:817
↓ 2 callersMethodpackfile
(idx idxfile.Index, pack plumbing.Hash)
storage/filesystem/object.go:209
↓ 2 callersFunctionparseCommand
(b []byte)
plumbing/protocol/packp/updreq_decode.go:204
↓ 2 callersFunctionparseHash
(s string)
plumbing/protocol/packp/updreq_decode.go:230
↓ 2 callersMethodparseTilde
parseTilde extract ~ statements
internal/revision/parser.go:335
↓ 2 callersFunctionpatchDelta
(dst *bytes.Buffer, src, delta []byte)
plumbing/format/packfile/patch_delta.go:228
↓ 2 callersMethodprepareRepositories
(c *C)
plumbing/transport/server/server_test.go:50
↓ 2 callersMethodprepareRepository
(c *C, f *fixtures.Fixture, name string)
plumbing/transport/http/common_test.go:267
↓ 2 callersFunctionprintErr
(err error)
_examples/merge_base/helpers.go:32
↓ 2 callersMethodprocessLine
process lines from a packed-refs file
storage/filesystem/dotgit/dotgit.go:925
↓ 2 callersFunctionpublicKey
(filePath string)
_examples/tag-create-push/main.go:67
↓ 2 callersMethodpush
(f *frame.Frame)
utils/merkletrie/iter.go:108
↓ 2 callersMethodput
(pos int64, o observerObject)
plumbing/format/packfile/parser_test.go:219
↓ 2 callersFunctionreachableObjects
reachableObjects returns, using the callback function, all the reachable objects from the specified commit. To avoid to iterate over seen commits, if
plumbing/revlist/revlist.go:120
← previousnext →901–1,000 of 4,185, ranked by callers