MCPcopy Create free account

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

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

MethodNext
Next returns the next reference from the iterator, if one iterator reach io.EOF is removed and the next one is used.
plumbing/storer/reference.go:186
MethodNext
()
plumbing/storer/object.go:103
MethodNext
Next returns the next object from the iterator. If the iterator has reached the end it will return io.EOF as an error. If the object can't be found in
plumbing/storer/object.go:146
MethodNext
Next returns the next object from the iterator. If the iterator has reached the end it will return io.EOF as an error. If the object is retrieved succ
plumbing/storer/object.go:193
MethodNext
Next returns the next object from the iterator, if one iterator reach io.EOF is removed and the next one is used.
plumbing/storer/object.go:233
MethodNext
()
plumbing/object/tree.go:380
MethodNext
Next moves the iterator to the next commit and returns a pointer to it. If there are no more commits, it returns io.EOF.
plumbing/object/commit.go:482
MethodNext
()
plumbing/object/commitgraph/commitnode.go:48
MethodNext
()
plumbing/format/idxfile/idxfile.go:277
MethodNext
()
plumbing/format/idxfile/idxfile.go:319
MethodNumChildren
()
utils/merkletrie/internal/fsnoder/file.go:54
MethodNumChildren
()
utils/merkletrie/internal/fsnoder/dir.go:111
MethodNumChildren
()
utils/merkletrie/index/node.go:93
MethodNumChildren
NumChildren returns the number of children the final noder of the path has.
utils/merkletrie/noder/path.go:68
MethodNumChildren
()
utils/merkletrie/noder/noder_test.go:27
MethodNumChildren
()
utils/merkletrie/filesystem/node.go:85
MethodNumChildren
len(t.tree.Entries) != the number of elements walked by treewalker for some reason because of empty directories, submodules, etc, so we have to walk h
plumbing/object/treenoder.go:135
MethodNumParents
()
plumbing/object/commitgraph/commitnode_graph.go:86
MethodNumParents
()
plumbing/object/commitgraph/commitnode_object.go:58
MethodObjectPacks
()
storage/memory/storage.go:189
MethodObjectPacks
()
storage/filesystem/object.go:886
MethodObjectPacks
ObjectPacks returns the list of availables packfiles
storage/filesystem/dotgit/dotgit.go:221
MethodOnFooter
(h plumbing.Hash)
plumbing/format/packfile/parser_test.go:205
MethodOnFooter
OnFooter implements packfile.Observer interface.
plumbing/format/idxfile/writer.go:83
MethodOnHeader
(count uint32)
plumbing/format/packfile/parser_test.go:178
MethodOnHeader
OnHeader implements packfile.Observer interface.
plumbing/format/idxfile/writer.go:65
MethodOnInflatedObjectContent
(h plumbing.Hash, pos int64, crc uint32, _ []byte)
plumbing/format/packfile/parser_test.go:195
MethodOnInflatedObjectContent
OnInflatedObjectContent implements packfile.Observer interface.
plumbing/format/idxfile/writer.go:77
MethodOnInflatedObjectHeader
(otype plumbing.ObjectType, objSize int64, pos int64)
plumbing/format/packfile/parser_test.go:184
MethodOnInflatedObjectHeader
OnInflatedObjectHeader implements packfile.Observer interface.
plumbing/format/idxfile/writer.go:72
FunctionOpenChainOrFileIndex
OpenChainOrFileIndex expects a billy.Filesystem representing a .git directory. It will first attempt to read a commit-graph index file, before trying
plumbing/format/commitgraph/v2/chain.go:48
MethodPackRefs
()
storage/memory/storage.go:293
MethodPackRefs
PackRefs honors the storer.ReferenceStorer interface.
storage/transactional/reference.go:107
MethodPackRefs
()
storage/filesystem/reference.go:42
MethodPackRefs
PackRefs packs all loose refs into the packed-refs file. This implementation only works under the assumption that the view of the file system won't b
storage/filesystem/dotgit/dotgit.go:1046
MethodPackfileWriter
()
remote_test.go:373
MethodPackfileWriter
PackfileWriter honors storage.PackfileWriter.
storage/transactional/storage.go:98
MethodPackfileWriter
()
storage/filesystem/object.go:98
MethodParentHashes
()
plumbing/object/commitgraph/commitnode_graph.go:112
MethodParentHashes
()
plumbing/object/commitgraph/commitnode_object.go:77
MethodParentNode
(i int)
plumbing/object/commitgraph/commitnode_graph.go:94
MethodParentNode
(i int)
plumbing/object/commitgraph/commitnode_object.go:66
MethodParentNodes
()
plumbing/object/commitgraph/commitnode_graph.go:90
MethodParentNodes
()
plumbing/object/commitgraph/commitnode_object.go:62
MethodPatch
Patch returns a Patch with all the changes in chunks. This representation can be used to create several diff outputs.
plumbing/object/change.go:149
MethodPatch
Patch returns the Patch between the actual commit and the provided one. NOTE: Since version 5.1.0 the renames are correctly handled, the settings use
plumbing/object/commit.go:121
MethodPath
()
plumbing/object/patch.go:164
MethodPath
()
plumbing/format/diff/unified_encoder_test.go:1059
MethodPeek
()
blame.go:527
MethodPeek
()
blame.go:544
MethodPeek
Peek returns the most recently added CommitNode from the stack without removing it
plumbing/object/commitgraph/commitnode_walker_helper.go:40
MethodPeek
Peek returns top element on the heap without removing it, or nil if heap is empty. Second return parameter is true, unless the heap was empty and ther
plumbing/object/commitgraph/commitnode_walker_helper.go:74
MethodPop
()
blame.go:519
MethodPop
()
blame.go:541
MethodPop
Pop pops the most recently added CommitNode from the stack
plumbing/object/commitgraph/commitnode_walker_helper.go:30
MethodPop
Pop removes top element on heap and returns it, or nil if heap is empty. Second return parameter is true, unless the heap was empty and there was noth
plumbing/object/commitgraph/commitnode_walker_helper.go:64
MethodPush
Push performs a push to the remote. Returns NoErrAlreadyUpToDate if the remote was already up-to-date, from the remote named as FetchOptions.RemoteNam
repository.go:1214
MethodPush
(x any)
blame.go:518
MethodPush
(c *queueItem)
blame.go:538
MethodPut
Put puts a buffer into the cache. If the buffer is already in the cache, it will be marked as used. Otherwise, it will be inserted. Buffer might be ev
plumbing/cache/common.go:33
MethodRead
(p []byte)
utils/sync/zlib_test.go:67
MethodRead
(bs []byte)
utils/ioutil/common.go:112
MethodRead
(p []byte)
storage/filesystem/dotgit/writers.go:191
MethodRead
([]byte)
plumbing/protocol/packp/sideband/demux_test.go:73
MethodRead
(p []byte)
plumbing/object/tree_test.go:203
MethodRead
(p []byte)
plumbing/format/packfile/scanner.go:432
MethodRead
([]byte)
plumbing/format/pktline/scanner_test.go:165
MethodReadDir
(path string)
storage/filesystem/dotgit/repository_filesystem.go:85
MethodReadObject
ReadObject returns a reader for the object content and an error
plumbing/format/packfile/scanner.go:322
MethodReader
()
storage/filesystem/dotgit/reader.go:26
MethodReader
()
plumbing/cache/object_test.go:186
MethodReader
()
plumbing/object/tree_test.go:154
MethodReader
()
plumbing/object/tree_test.go:189
MethodReader
Reader implements the plumbing.EncodedObject interface.
plumbing/format/packfile/fsobject.go:52
MethodReader
()
plumbing/format/packfile/object_pack_test.go:39
MethodReceivePack
(ctx context.Context, req *packp.ReferenceUpdateRequest)
plumbing/transport/http/receive_pack.go:35
MethodReceivePack
(ctx context.Context, req *packp.ReferenceUpdateRequest)
plumbing/transport/internal/common/common.go:326
MethodReceivePack
(ctx context.Context, req *packp.ReferenceUpdateRequest)
plumbing/transport/server/server.go:238
MethodReference
(n plumbing.ReferenceName)
storage/memory/storage.go:271
MethodReference
(n plumbing.ReferenceName)
storage/filesystem/reference.go:21
MethodRemoveReference
(n plumbing.ReferenceName)
storage/memory/storage.go:297
MethodRemoveReference
(n plumbing.ReferenceName)
storage/filesystem/reference.go:34
MethodRollback
()
storage/memory/storage.go:241
MethodSetAuth
(r *http.Request)
plumbing/transport/http/common.go:352
MethodSetAuth
(transport.AuthMethod)
plumbing/transport/server/server.go:91
MethodSetConfig
SetConfig marshall and writes the repository config. In a filesystem backed repository this means write the `.git/config`. This function should be cal
repository.go:559
MethodSetConfig
(cfg *config.Config)
storage/memory/storage.go:51
MethodSetConfig
(cfg *config.Config)
storage/filesystem/config.go:29
MethodSetEncodedObject
(obj plumbing.EncodedObject)
storage/memory/storage.go:97
MethodSetEncodedObject
(obj plumbing.EncodedObject)
storage/memory/storage.go:214
MethodSetEncodedObject
SetEncodedObject adds a new object to the storage.
storage/filesystem/object.go:119
MethodSetEncodedObject
SetEncodedObject saves an object into the storage, the object should be create with the NewEncodedObject, method, and file if the type is not supporte
plumbing/storer/object.go:25
MethodSetEncodedObject
(obj plumbing.EncodedObject)
plumbing/storer/object_test.go:132
MethodSetIndex
(idx *index.Index)
storage/memory/storage.go:72
MethodSetIndex
(idx *index.Index)
storage/filesystem/index.go:16
MethodSetReference
(ref *plumbing.Reference)
storage/memory/storage.go:248
MethodSetReference
(ref *plumbing.Reference)
storage/filesystem/reference.go:13
MethodSetShallow
(commits []plumbing.Hash)
storage/memory/storage.go:304
MethodSetShallow
SetShallow save the shallows in the shallow file in the .git folder as one commit per line represented by 40-byte hexadecimal object terminated by a n
storage/filesystem/shallow.go:21
MethodSetSize
(int64)
storage/filesystem/dotgit/reader.go:66
← previousnext →2,201–2,300 of 4,185, ranked by callers