MCPcopy Create free account

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

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

↓ 1 callersMethodmarshalCore
()
config/config.go:428
↓ 1 callersMethodmarshalExtensions
()
config/config.go:440
↓ 1 callersMethodmarshalInit
()
config/config.go:568
↓ 1 callersMethodmarshalPack
()
config/config.go:478
↓ 1 callersMethodmarshalRemotes
()
config/config.go:485
↓ 1 callersMethodmarshalSubmodules
()
config/config.go:512
↓ 1 callersMethodmarshalURLs
()
config/config.go:554
↓ 1 callersMethodmarshalUser
()
config/config.go:449
↓ 1 callersFunctionmatch
match is filepath.Match with support to match fullpath and not only filenames code from: https://github.com/golang/go/blob/39852bf4cce6927e01d0136c784
plumbing/format/index/match.go:12
↓ 1 callersFunctionmatchChunk
matchChunk checks whether chunk matches the beginning of s. If so, it returns the remainder of s (after the match). Chunk is all single-character oper
plumbing/format/index/match.go:89
↓ 1 callersMethodmatchExact
(n plumbing.ReferenceName)
config/refspec.go:96
↓ 1 callersMethodmatchGlob
(n plumbing.ReferenceName)
config/refspec.go:100
↓ 1 callersFunctionmatchLength
(src, tgt []byte, otgt, osrc int)
plumbing/format/packfile/delta_index.go:51
↓ 1 callersFunctionmax
(a, b int)
blame.go:485
↓ 1 callersMethodmaxAuthorLength
utility function to calculate the number of runes needed to print the longest author name in the blame of a file.
blame.go:470
↓ 1 callersFunctionmin
(a, b int)
blame.go:478
↓ 1 callersMethodmockBlame
(c *C, t blameTest, r *Repository)
blame_test.go:68
↓ 1 callersFunctionnameFromAction
(ch *merkletrie.Change)
worktree_status.go:107
↓ 1 callersFunctionneedsQuote
(s string)
repository_plan9_test.go:16
↓ 1 callersFunctionnewAdvRefsDecoder
(r io.Reader)
plumbing/protocol/packp/advrefs_decode.go:38
↓ 1 callersFunctionnewAdvRefsEncoder
(w io.Writer)
plumbing/protocol/packp/advrefs_encode.go:34
↓ 1 callersFunctionnewBaseObject
(offset, length int64, t plumbing.ObjectType)
plumbing/format/packfile/parser.go:584
↓ 1 callersMethodnewChildNode
(file os.FileInfo)
utils/merkletrie/filesystem/node.go:130
↓ 1 callersFunctionnewDeltaIndexScanner
(buf []byte, size int)
plumbing/format/packfile/delta_index.go:125
↓ 1 callersFunctionnewDeltaObject
( obj plumbing.EncodedObject, hash plumbing.Hash, base plumbing.Hash, size int64)
storage/filesystem/deltaobject.go:14
↓ 1 callersFunctionnewDoubleIter
NewdoubleIter returns a new doubleIter for the merkletries "from" and "to". The hashEqual callback function will be used by the doubleIter to compare
utils/merkletrie/doubleiter.go:38
↓ 1 callersMethodnewEndpoint
(c *C, name string)
plumbing/transport/ssh/internal/test/proxy_test.go:98
↓ 1 callersFunctionnewHunksGenerator
(chunks []Chunk, ctxLines int)
plumbing/format/diff/unified_encoder.go:186
↓ 1 callersFunctionnewKeyCountPair
(key int, cnt uint64)
plumbing/object/rename.go:755
↓ 1 callersFunctionnewLine
(author, authorName, text string, date time.Time, hash plumbing.Hash)
blame.go:139
↓ 1 callersFunctionnewObjectWriter
(fs billy.Filesystem)
storage/filesystem/dotgit/writers.go:255
↓ 1 callersFunctionnewOffsetWriter
(w io.Writer)
plumbing/format/packfile/encoder.go:209
↓ 1 callersFunctionnewReceivePackSession
(c *client, ep *transport.Endpoint, auth transport.AuthMethod)
plumbing/transport/http/receive_pack.go:22
↓ 1 callersMethodnewReferenceUpdateRequest
( o *PushOptions, localRefs []*plumbing.Reference, remoteRefs storer.ReferenceStorer, ar *packp.AdvRefs, )
remote.go:308
↓ 1 callersFunctionnewScannerReader
(r io.Reader, h io.Writer)
plumbing/format/packfile/scanner.go:410
↓ 1 callersFunctionnewSendPackSession
(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions)
remote.go:532
↓ 1 callersMethodnewSubmodule
(fromModules, fromConfig *config.Submodule)
worktree.go:806
↓ 1 callersMethodnewUploadPackRequest
(o *FetchOptions, ar *packp.AdvRefs)
remote.go:1147
↓ 1 callersFunctionnewUploadPackSession
(c *client, ep *transport.Endpoint, auth transport.AuthMethod)
plumbing/transport/http/upload_pack.go:22
↓ 1 callersMethodnextObjectHeader
()
plumbing/format/packfile/packfile.go:123
↓ 1 callersMethodnextPackData
()
plumbing/protocol/packp/sideband/demux.go:99
↓ 1 callersFunctionnodersFixture
Returns a sequence with the noders 3, 2, and 1 from the following diagram: 3 | 2 | 1 \ c1 c2 This is also the path of "1".
utils/merkletrie/noder/noder_test.go:42
↓ 1 callersFunctionobjectAsString
(obj Object)
plumbing/object/tag.go:323
↓ 1 callersFunctionobjectExists
(s storer.EncodedObjectStorer, h plumbing.Hash)
remote.go:1079
↓ 1 callersFunctionobjects
( s storer.EncodedObjectStorer, objects, ignore []plumbing.Hash, allowMissingObjects bool, )
plumbing/revlist/revlist.go:45
↓ 1 callersFunctionobjectsToPush
(commands []*packp.Command)
remote.go:1394
↓ 1 callersMethodobjectsToUpload
(req *packp.UploadPackRequest)
plumbing/transport/server/server.go:182
↓ 1 callersMethodonFooter
(h plumbing.Hash)
plumbing/format/packfile/parser.go:127
↓ 1 callersMethodonHeader
(count uint32)
plumbing/format/packfile/parser.go:100
↓ 1 callersMethodonInflatedObjectContent
( h plumbing.Hash, pos int64, crc uint32, content []byte, )
plumbing/format/packfile/parser.go:116
↓ 1 callersMethodonInflatedObjectHeader
( t plumbing.ObjectType, objSize int64, pos int64, )
plumbing/format/packfile/parser.go:106
↓ 1 callersMethodopenAndLockPackedRefsMode
()
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go:12
↓ 1 callersMethodpackedRef
(name plumbing.ReferenceName)
storage/filesystem/dotgit/dotgit.go:765
↓ 1 callersMethodpackfileFromCache
(hash plumbing.Hash)
storage/filesystem/object.go:229
↓ 1 callersMethodpadEntry
Index entries are padded out to the next 8 byte alignment for historical reasons related to how C Git read the files.
plumbing/format/index/decoder.go:197
↓ 1 callersMethodpadEntry
(wrote int)
plumbing/format/index/encoder.go:150
↓ 1 callersFunctionparentsContainingPath
(path string, c *object.Commit)
blame.go:551
↓ 1 callersMethodparseCaretBraces
parseCaretBraces extract ^{<data>} statements
internal/revision/parser.go:393
↓ 1 callersMethodparseColonDefault
parseColonDefault extract :<data> statements
internal/revision/parser.go:515
↓ 1 callersMethodparseColonSlash
parseColonSlash extract :/<data> statements
internal/revision/parser.go:471
↓ 1 callersFunctionparseFile
(endpoint string)
plumbing/transport/common.go:293
↓ 1 callersFunctionparseSCPLike
(endpoint string)
plumbing/transport/common.go:273
↓ 1 callersFunctionparseType
(b byte)
plumbing/format/packfile/scanner.go:284
↓ 1 callersFunctionparseURL
(endpoint string)
plumbing/transport/common.go:212
↓ 1 callersFunctionpatchDeltaWriter
(dst io.Writer, base io.ReaderAt, delta io.Reader, typ plumbing.ObjectType, writeHeader objectHeaderWriter)
plumbing/format/packfile/patch_delta.go:298
↓ 1 callersMethodpopNewFromQueue
popNewFromQueue returns the first new commit from the internal fifo queue, or an io.EOF error if the queue is empty
plumbing/object/commit_walker_bfs_filtered.go:134
↓ 1 callersFunctionpreReceiveHook
preReceiveHook returns the bytes of a pre-receive hook script that prints m before exiting successfully
repository_unix_test.go:9
↓ 1 callersFunctionprefixExecPath
(cmd string)
plumbing/transport/file/client.go:37
↓ 1 callersMethodprepare
(idx Index, hashes []plumbing.Hash)
plumbing/format/commitgraph/encoder.go:72
↓ 1 callersMethodprepare
(idx Index, hashes []plumbing.Hash)
plumbing/format/commitgraph/v2/encoder.go:82
↓ 1 callersMethodprepareForRead
(t plumbing.ObjectType, size int64)
plumbing/format/objfile/reader.go:91
↓ 1 callersMethodprepareForWrite
(t plumbing.ObjectType, size int64)
plumbing/format/objfile/writer.go:64
↓ 1 callersFunctionprepareRepo
(c *C, path string)
plumbing/transport/file/client_test.go:44
↓ 1 callersMethodprepareRepository
(c *C, f *fixtures.Fixture, name string)
plumbing/transport/http/upload_pack_test.go:61
↓ 1 callersMethodprepareRepository
(c *C, f *fixtures.Fixture, name string)
plumbing/transport/git/common_test.go:80
↓ 1 callersMethodprepareRepository
(c *C, f *fixtures.Fixture, name string)
plumbing/transport/ssh/internal/test/proxy_test.go:85
↓ 1 callersFunctionprintCommits
(commits []*object.Commit)
_examples/merge_base/helpers.go:40
↓ 1 callersFunctionprintMsg
(format string, args ...interface{})
_examples/merge_base/helpers.go:36
↓ 1 callersMethodprocessEqualsLines
(ls []string, i int)
plumbing/format/diff/unified_encoder.go:280
↓ 1 callersMethodprocessHunk
(i int, op Operation)
plumbing/format/diff/unified_encoder.go:228
↓ 1 callersFunctionprocessObject
processObject obtains the object using the hash an process it depending of its type
plumbing/revlist/revlist.go:76
↓ 1 callersMethodpruneRemotes
(specs []config.RefSpec, localRefs []*plumbing.Reference, remoteRefs memory.ReferenceStorage)
remote.go:585
↓ 1 callersFunctionpushHashes
( ctx context.Context, sess transport.ReceivePackSession, s storage.Storer, req *packp.ReferenceUpdateRequ
remote.go:1427
↓ 1 callersFunctionpushTags
(r *git.Repository, publicKeyPath string)
_examples/tag-create-push/main.go:124
↓ 1 callersFunctionquote
Quote adds single quotes to s in the style of rc(1) if they are needed. The behaviour should be identical to Plan 9's quote(3).
repository_plan9_test.go:28
↓ 1 callersFunctionquoteDescription
hack to trigger conditional quoting in the plumbing/format/config/Encoder.encodeOptions Current Encoder implementation uses Go %q format if value con
config/branch.go:102
↓ 1 callersFunctionrandStringBytes
(n int)
plumbing/format/packfile/delta_test.go:87
↓ 1 callersMethodreadChecksum
(expected []byte, alreadyRead [4]byte)
plumbing/format/index/decoder.go:293
↓ 1 callersMethodreadChunkHeaders
()
plumbing/format/commitgraph/file.go:110
↓ 1 callersMethodreadChunkHeaders
()
plumbing/format/commitgraph/v2/file.go:140
↓ 1 callersMethodreadCount
readCount reads and returns the count of objects field of a packfile.
plumbing/format/packfile/scanner.go:142
↓ 1 callersMethodreadEntries
(idx *Index, count int)
plumbing/format/index/decoder.go:80
↓ 1 callersMethodreadEntry
(idx *Index)
plumbing/format/index/decoder.go:94
↓ 1 callersMethodreadEntry
()
plumbing/format/index/decoder.go:353
↓ 1 callersMethodreadEntry
()
plumbing/format/index/decoder.go:417
↓ 1 callersMethodreadEntryName
(idx *Index, e *Entry, flags uint16)
plumbing/format/index/decoder.go:147
↓ 1 callersMethodreadExtension
(idx *Index, header []byte)
plumbing/format/index/decoder.go:241
↓ 1 callersMethodreadExtensions
(idx *Index)
plumbing/format/index/decoder.go:208
↓ 1 callersMethodreadFanout
()
plumbing/format/commitgraph/file.go:142
↓ 1 callersMethodreadFanout
()
plumbing/format/commitgraph/v2/file.go:170
← previousnext →1,601–1,700 of 4,185, ranked by callers