MCPcopy Create free account

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

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

↓ 1 callersMethodreadLength
the length is codified in the last 4 bits of the first byte and in the last 7 bits of subsequent bytes. Last byte has a 0 MSB.
plumbing/format/packfile/scanner.go:290
↓ 1 callersMethodreadOFSDeltaObjectContent
(h *ObjectHeader, deltaRC io.Reader)
plumbing/format/packfile/packfile.go:429
↓ 1 callersMethodreadObjectTypeAndLength
ReadObjectTypeAndLength reads and returns the object type and the length field from an object entry in a packfile.
plumbing/format/packfile/scanner.go:261
↓ 1 callersMethodreadPayloadLen
Method readPayloadLen returns the payload length by reading the pkt-len and subtracting the pkt-len size.
plumbing/format/pktline/scanner.go:93
↓ 1 callersMethodreadREFDeltaObjectContent
(h *ObjectHeader, deltaRC io.Reader)
plumbing/format/packfile/packfile.go:385
↓ 1 callersFunctionreadRef
Reads a ref-name
plumbing/protocol/packp/advrefs_decode.go:244
↓ 1 callersMethodreadSignature
readSignature reads a returns the signature field in the packfile.
plumbing/format/packfile/scanner.go:116
↓ 1 callersMethodreadStage
(e *ResolveUndoEntry, s Stage)
plumbing/format/index/decoder.go:447
↓ 1 callersMethodreadType
()
plumbing/format/packfile/scanner.go:272
↓ 1 callersMethodreadUntil
readSlice reads one byte at a time from r until it encounters delim or an error.
plumbing/format/objfile/reader.go:72
↓ 1 callersMethodreadVersion
readVersion reads and returns the version field of a packfile.
plumbing/format/packfile/scanner.go:131
↓ 1 callersFunctionreferenceExists
(s storer.ReferenceStorer, n plumbing.ReferenceName)
plumbing/transport/server/server.go:425
↓ 1 callersFunctionreferencesToHashes
(refs storer.ReferenceStorer)
remote.go:1405
↓ 1 callersMethodremaining
Remaining returns if there are no more noders in the tree, if both have noders or if one of them doesn't.
utils/merkletrie/doubleiter.go:110
↓ 1 callersFunctionremove
remove returns the passed commits excluding the commit toDelete
plumbing/object/merge_base.go:170
↓ 1 callersFunctionremoveDuplicated
removeDuplicated removes duplicated commits from the passed slice of commits
plumbing/object/merge_base.go:186
↓ 1 callersFunctionremoveDuplicatedSpace
(s string)
utils/merkletrie/difftree_test.go:200
↓ 1 callersFunctionrepeat
utility function to avoid writing so many repeated commits
blame_test.go:101
↓ 1 callersMethodreportStatus
()
plumbing/transport/server/server.go:326
↓ 1 callersMethodresetIndex
(t *object.Tree, dirs []string)
worktree.go:329
↓ 1 callersMethodresetWorktree
(t *object.Tree)
worktree.go:382
↓ 1 callersMethodresolveDeltas
()
plumbing/format/packfile/parser.go:317
↓ 1 callersMethodresolveExternalRef
(o *objectInfo)
plumbing/format/packfile/parser.go:361
↓ 1 callersMethodresolveHashPrefix
resolveHashPrefix returns a list of potential hashes that the given string is a prefix of. It quietly swallows errors, returning nil.
repository.go:1691
↓ 1 callersMethodresolveHead
If the server does not support symrefs capability, we need to guess the reference where HEAD is pointing to. Git versions prior to 1.8.4.3 has an spe
plumbing/protocol/packp/advrefs.go:105
↓ 1 callersFunctionresolveReference
(s ReferenceStorer, r *plumbing.Reference, recursion int)
plumbing/storer/reference.go:224
↓ 1 callersMethodresolveToCommitHash
(h plumbing.Hash)
repository.go:865
↓ 1 callersMethodrewritePackedRefsWithoutRef
(name plumbing.ReferenceName)
storage/filesystem/dotgit/dotgit.go:872
↓ 1 callersFunctionrmFileAndDirsIfEmpty
will walk up the directory tree removing all encountered empty directories, not just the one containing this file
worktree.go:1053
↓ 1 callersMethodrun
(c *C, context string)
utils/merkletrie/difftree_test.go:99
↓ 1 callersMethodrun
Runs a test on the provided iterator, checking that the names of the returned values are correct. If not, the treeDescription value is printed along
utils/merkletrie/iter_test.go:53
↓ 1 callersFunctionsameMode
(a, b *Change)
plumbing/object/rename.go:356
↓ 1 callersMethodsave
()
storage/filesystem/dotgit/writers.go:132
↓ 1 callersMethodsave
()
storage/filesystem/dotgit/writers.go:280
↓ 1 callersMethodscan
slightly modified version of JGit's DeltaIndexScanner. We store the offset on the entries instead of the entries and the key, so we avoid operations t
plumbing/format/packfile/delta_index.go:148
↓ 1 callersFunctionscanChunk
scanChunk gets the next segment of pattern, which is a non-star string possibly preceded by a star.
plumbing/format/index/match.go:56
↓ 1 callersMethodscanFirstLine
(scan *pktline.Scanner)
plumbing/protocol/packp/report_status.go:92
↓ 1 callersMethodscanLine
()
plumbing/protocol/packp/updreq_decode.go:116
↓ 1 callersFunctionsectionsExample
returns nSection sections, each of them with nLines pkt-lines (not counting the flush-pkt: 0009 0.0\n 0009 0.1\n ... 0000 and so on
plumbing/format/pktline/scanner_test.go:202
↓ 1 callersFunctionsendDone
(w io.Writer)
plumbing/transport/internal/common/common.go:476
↓ 1 callersMethodsetAuth
(auth transport.AuthMethod)
plumbing/transport/ssh/common.go:73
↓ 1 callersMethodsetAuthFromEndpoint
()
plumbing/transport/ssh/common.go:249
↓ 1 callersFunctionsetConfigWorktree
(r *Repository, worktree, storage billy.Filesystem)
repository.go:179
↓ 1 callersFunctionsetEmptyRemote
(dir string)
_examples/common_test.go:122
↓ 1 callersMethodsetFirstRef
()
plumbing/protocol/packp/advrefs_encode.go:64
↓ 1 callersMethodsetHEADCommit
(commit plumbing.Hash)
worktree.go:561
↓ 1 callersMethodsetHEADToBranch
(branch plumbing.ReferenceName, commit plumbing.Hash)
worktree.go:264
↓ 1 callersMethodsetHEADToCommit
(commit plumbing.Hash)
worktree.go:259
↓ 1 callersMethodsetIsBare
(isBare bool)
repository.go:1030
↓ 1 callersMethodsetRef
(fileName, content string, old *plumbing.Reference)
storage/filesystem/dotgit/dotgit_setref.go:13
↓ 1 callersMethodsetRefNorwfs
There are some filesystems that don't support opening files in RDWD mode. In these filesystems the standard SetRef function can not be used as it read
storage/filesystem/dotgit/dotgit_setref.go:61
↓ 1 callersMethodsetRefRwfs
(fileName, content string, old *plumbing.Reference)
storage/filesystem/dotgit/dotgit_setref.go:21
↓ 1 callersFunctionsetRemote
(local, remote string)
_examples/common_test.go:128
↓ 1 callersMethodsetStatus
(ref plumbing.ReferenceName, err error)
plumbing/transport/server/server.go:319
↓ 1 callersFunctionsetTag
(r *git.Repository, tag string)
_examples/tag-create-push/main.go:100
↓ 1 callersFunctionsetWorktreeAndStoragePaths
(r *Repository, worktree billy.Filesystem)
repository.go:139
↓ 1 callersFunctionsetupHTTPProxy
(proxy *goproxy.ProxyHttpServer, proxiedRequests *int32)
plumbing/transport/http/proxy_test.go:104
↓ 1 callersFunctionsignObject
(signer Signer, obj signableObject)
signer.go:22
↓ 1 callersFunctionsimpleJoin
(parent, child string)
plumbing/object/tree.go:552
↓ 1 callersMethodsimpleNameMatch
(path []string, isDir bool)
plumbing/format/gitignore/pattern.go:92
↓ 1 callersMethodsleep
()
storage/filesystem/dotgit/writers.go:222
↓ 1 callersMethodsortName
(te object.TreeEntry)
worktree_commit.go:233
↓ 1 callersMethodsortRefs
()
plumbing/protocol/packp/advrefs_encode.go:52
↓ 1 callersFunctionsortShallows
(c []plumbing.Hash)
plumbing/protocol/packp/advrefs_encode.go:163
↓ 1 callersFunctionsplit
returns the description of the elements of a dir. It is just looking for spaces if they are not part of inner dirs.
utils/merkletrie/internal/fsnoder/new.go:93
↓ 1 callersFunctionsplitLines
(s string)
plumbing/format/diff/unified_encoder.go:304
↓ 1 callersMethodstatus
(commit plumbing.Hash)
worktree_status.go:50
↓ 1 callersMethodstepBoth
StepBoth makes d advance to the next noder in both merkletries, getting deeper into directories if that is the case.
utils/merkletrie/doubleiter.go:98
↓ 1 callersMethodstopReading
stopReading detects when a valid command such as ACK or NAK is found to be read in the buffer without moving the read pointer.
plumbing/protocol/packp/srvresp.go:67
↓ 1 callersMethodstorageFromPackfile
(f *fixtures.Fixture)
plumbing/object/difftree_test.go:41
↓ 1 callersMethodstorePackfileInCache
(hash plumbing.Hash, p *packfile.Packfile)
storage/filesystem/object.go:242
↓ 1 callersFunctionsumOverflows
(a, b uint)
plumbing/format/packfile/patch_delta.go:524
↓ 1 callersMethodsupportSymrefs
()
plumbing/protocol/packp/advrefs.go:201
↓ 1 callersFunctiontableSize
(worstCaseBlockCnt int)
plumbing/format/packfile/delta_index.go:175
↓ 1 callersFunctiontagExists
(tag string, r *git.Repository)
_examples/tag-create-push/main.go:77
↓ 1 callersFunctiontestAuthorDateOrder
(c *C, head CommitNode)
plumbing/object/commitgraph/commitnode_walker_test.go:136
↓ 1 callersFunctiontestDateOrder
(c *C, head CommitNode)
plumbing/object/commitgraph/commitnode_walker_test.go:83
↓ 1 callersMethodtestDecodeOK
(c *C, payloads []string)
plumbing/protocol/packp/updreq_decode_test.go:268
↓ 1 callersMethodtestDecodeOk
(c *C, expected *ReportStatus, lines ...string)
plumbing/protocol/packp/report_status_test.go:42
↓ 1 callersMethodtestDecodeOkRaw
(c *C, expected *ReferenceUpdateRequest, raw []byte)
plumbing/protocol/packp/updreq_decode_test.go:280
↓ 1 callersMethodtestEncodeOk
(c *C, input *ReportStatus, lines ...string)
plumbing/protocol/packp/report_status_test.go:55
↓ 1 callersFunctiontestExample
(t *testing.T, name, dir string)
_examples/common_test.go:142
↓ 1 callersMethodtestSendPackAddReference
(c *C)
plumbing/transport/test/receive_pack.go:314
↓ 1 callersMethodtestSendPackDeleteReference
(c *C)
plumbing/transport/test/receive_pack.go:337
↓ 1 callersFunctiontestTopoOrder
(c *C, head CommitNode)
plumbing/object/commitgraph/commitnode_walker_test.go:31
↓ 1 callersFunctiontestUlReqEncodeError
(c *C, ur *UploadRequest, expectedErrorRegEx string)
plumbing/protocol/packp/ulreq_encode_test.go:34
↓ 1 callersFunctiontestWriter
(c *C, dest io.Writer, hash plumbing.Hash, t plumbing.ObjectType, content []byte)
plumbing/format/objfile/writer_test.go:34
↓ 1 callersMethodtimeToUint32
(t *time.Time)
plumbing/format/index/encoder.go:138
↓ 1 callersFunctiontokenizeExpression
tokenizeExpression aggregates a series of runes matching check predicate into a single string and provides given tokenType as token type
internal/revision/scanner.go:15
↓ 1 callersFunctiontransformChildren
Returns the children of a tree as treenoders. Efficiency is key here.
plumbing/object/treenoder.go:98
↓ 1 callersFunctiontransportWithCABundle
(transport *http.Transport, caBundle []byte)
plumbing/transport/http/common.go:187
↓ 1 callersFunctiontransportWithInsecureTLS
(transport *http.Transport)
plumbing/transport/http/common.go:180
↓ 1 callersFunctiontransportWithProxy
(transport *http.Transport, proxyURL *url.URL)
plumbing/transport/http/common.go:203
↓ 1 callersMethodtryToDeltify
(indexMap map[plumbing.Hash]*deltaIndex, base, target *ObjectToPack)
plumbing/format/packfile/delta_selector.go:271
↓ 1 callersFunctionturnSpaceIntoLiteralSpace
(s string)
utils/merkletrie/difftree_test.go:218
↓ 1 callersMethodundeltify
undeltify undeltifies an *ObjectToPack by retrieving the original object from the storer and resetting it.
plumbing/format/packfile/delta_selector.go:206
↓ 1 callersMethodunmarshal
(s *format.Subsection)
config/modules.go:112
↓ 1 callersMethodunmarshal
(s *format.Subsection)
config/branch.go:106
↓ 1 callersMethodunmarshal
(s *format.Subsection)
config/url.go:40
↓ 1 callersMethodunmarshal
(s *format.Subsection)
config/config.go:621
← previousnext →1,701–1,800 of 4,185, ranked by callers