MCPcopy Create free account

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

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

FunctionExampleRepository_CreateRemote
()
example_test.go:140
FunctionExampleRepository_References
()
example_test.go:118
FunctionExampleSigner
()
signer_test.go:28
MethodExecute
Execute runs the command.
cli/go-git/update_server_info.go:26
MethodExecute
(args []string)
cli/go-git/upload_pack.go:25
MethodExecute
(args []string)
cli/go-git/receive_pack.go:24
MethodExecute
(args []string)
cli/go-git/version.go:10
MethodFetch
Fetch fetches references along with the objects necessary to complete their histories, from the remote named as FetchOptions.RemoteName. Returns nil
repository.go:1185
MethodFile
File returns the file with the specified "path" in the commit and a nil error if the file exists. If the file does not exist, it returns a nil file an
plumbing/object/commit.go:151
MethodFilePatches
()
plumbing/format/diff/unified_encoder_test.go:1002
MethodFiles
()
plumbing/object/patch.go:182
MethodFiles
Files returns a FileIter allowing to iterate over the Tree
plumbing/object/tree.go:198
MethodFiles
Files returns a FileIter allowing to iterate over the Tree
plumbing/object/commit.go:161
MethodFiles
()
plumbing/format/diff/unified_encoder_test.go:1023
MethodFindCRC32
FindCRC32 implements the Index interface.
plumbing/format/idxfile/idxfile.go:156
MethodFindHash
FindHash implements the Index interface.
plumbing/format/idxfile/idxfile.go:172
MethodFindOffset
FindOffset implements the Index interface.
plumbing/format/idxfile/idxfile.go:116
MethodFlush
()
plumbing/format/packfile/scanner.go:451
MethodForEach
(func(*object.Commit) error)
repository_test.go:2196
MethodForEach
(cb func(plumbing.EncodedObject) error)
storage/filesystem/object.go:698
MethodForEach
(cb func(plumbing.EncodedObject) error)
storage/filesystem/object.go:789
MethodForEach
(cb func(plumbing.EncodedObject) error)
storage/filesystem/object.go:838
MethodForEach
ForEach call the cb function for each reference contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent th
plumbing/storer/reference.go:71
MethodForEach
(func(plumbing.EncodedObject) error)
plumbing/storer/object.go:104
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_limit.go:44
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_path.go:146
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_bfs.go:78
MethodForEach
ForEach call the cb function for each file contained in this iter until an error happens or the end of the iter is reached. If plumbing.ErrStop is sen
plumbing/object/file.go:112
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker.go:95
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker.go:163
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker.go:303
MethodForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_ctime.go:81
MethodForEach
ForEach call the cb function for each commit contained on this iter until an error appends or the end of the iter is reached. If ErrStop is sent the i
plumbing/object/commit.go:494
MethodForEach
ForEach runs the passed callback over each Commit returned by the CommitIter until the callback returns an error or there is no more commits to traver
plumbing/object/commit_walker_bfs_filtered.go:91
MethodForEach
(cb func(CommitNode) error)
plumbing/object/commitgraph/commitnode_walker_topo_order.go:139
MethodForEach
(cb func(CommitNode) error)
plumbing/object/commitgraph/commitnode_walker_ctime.go:84
MethodForEach
ForEach call the cb function for each commit contained on this iter until an error appends or the end of the iter is reached. If ErrStop is sent the i
plumbing/object/commitgraph/commitnode.go:80
MethodForEach
(f func(plumbing.EncodedObject) error)
plumbing/format/packfile/packfile.go:605
MethodForEachObjectHash
(fun func(plumbing.Hash) error)
storage/memory/storage.go:176
FunctionFuzzDecode
(f *testing.F)
plumbing/object/tree_test.go:1654
FunctionFuzzDecoder
(f *testing.F)
plumbing/protocol/packp/uppackresp_test.go:133
FunctionFuzzDecoder
(f *testing.F)
plumbing/format/config/decoder_test.go:96
FunctionFuzzNewEndpoint
(f *testing.F)
plumbing/transport/common_test.go:214
FunctionFuzzParseSignedBytes
(f *testing.F)
plumbing/object/signature_test.go:182
FunctionFuzzParser
(f *testing.F)
internal/revision/parser_test.go:402
FunctionFuzzPatchDelta
(f *testing.F)
plumbing/format/packfile/delta_test.go:181
MethodGeneration
()
plumbing/object/commitgraph/commitnode_graph.go:116
MethodGeneration
()
plumbing/object/commitgraph/commitnode_object.go:81
MethodGenerationV2
()
plumbing/object/commitgraph/commitnode_graph.go:123
MethodGenerationV2
()
plumbing/object/commitgraph/commitnode_object.go:88
MethodGet
Get returns a buffer by its key. It marks the buffer as used. If the buffer is not in the cache, (nil, false) will be returned.
plumbing/cache/common.go:36
MethodGet
(alias, key string)
plumbing/transport/ssh/common_test.go:201
MethodGet
(hash plumbing.Hash)
plumbing/object/commitgraph/commitnode_graph.go:43
MethodGet
(hash plumbing.Hash)
plumbing/object/commitgraph/commitnode_object.go:26
MethodGet
Get gets the value for the given key if set, otherwise it returns the empty string. Note that there is no difference This matches git behaviour sinc
plumbing/format/config/option.go:47
MethodGetCommitDataByIndex
(idx int)
plumbing/format/commitgraph/file.go:187
MethodGetCommitDataByIndex
GetNodeByIndex gets the commit node from the commit graph using index obtained from child node, if available
plumbing/format/commitgraph/commitgraph.go:38
MethodGetCommitDataByIndex
GetCommitDataByIndex gets the commit node from the commit graph using index obtained from child node, if available
plumbing/format/commitgraph/memory.go:39
MethodGetCommitDataByIndex
GetCommitDataByIndex returns the commit data for the given index in the commit-graph.
plumbing/format/commitgraph/v2/file.go:227
MethodGetCommitDataByIndex
GetCommitDataByIndex gets the commit node from the commit graph using index obtained from child node, if available
plumbing/format/commitgraph/v2/memory.go:51
MethodGetHashByIndex
GetHashByIndex looks up the hash for the given index in the commit-graph.
plumbing/format/commitgraph/v2/file.go:335
MethodGetHashByIndex
GetHashByIndex gets the hash given an index in the commit graph
plumbing/format/commitgraph/v2/memory.go:41
MethodGetIndexByHash
(h plumbing.Hash)
plumbing/format/commitgraph/file.go:157
MethodGetIndexByHash
GetIndexByHash gets the index in the commit graph from commit hash, if available
plumbing/format/commitgraph/commitgraph.go:35
MethodGetIndexByHash
GetIndexByHash looks up the provided hash in the commit-graph fanout and returns the index of the commit data for the given hash.
plumbing/format/commitgraph/v2/file.go:188
MethodGoString
()
plumbing/format/config/option.go:25
MethodGrep
Grep performs grep on a repository.
worktree.go:927
FunctionHandlerSSH
(s ssh.Session)
plumbing/transport/ssh/internal/test/test_utils.go:14
MethodHasEncodedObject
(h plumbing.Hash)
storage/memory/storage.go:117
MethodHasEncodedObject
HasEncodedObject returns nil if the object exists, without actually reading the object data from storage.
storage/filesystem/object.go:164
MethodHasEncodedObject
(h plumbing.Hash)
plumbing/storer/object_test.go:136
MethodHasGenerationV2
()
plumbing/format/commitgraph/v2/file.go:406
MethodHasGenerationV2
()
plumbing/format/commitgraph/v2/memory.go:96
MethodHash
The hash of a file is just its contents. Empty files will have the fnv64 basis offset as its hash.
utils/merkletrie/internal/fsnoder/file.go:32
MethodHash
()
utils/merkletrie/internal/fsnoder/dir.go:73
MethodHash
Hash the hash of a filesystem is a 24-byte slice, is the result of concatenating the computed plumbing.Hash of the file as a Blob and its plumbing.Fil
utils/merkletrie/index/node.go:73
MethodHash
Hash returns the hash of the final noder of the path.
utils/merkletrie/noder/path.go:46
MethodHash
()
utils/merkletrie/noder/noder_test.go:23
MethodHash
Hash the hash of a filesystem is the result of concatenating the computed plumbing.Hash of the file as a Blob and its plumbing.FileMode; that way the
utils/merkletrie/filesystem/node.go:58
MethodHash
()
plumbing/cache/object_test.go:181
MethodHash
()
plumbing/object/patch.go:153
MethodHash
()
plumbing/object/tree_test.go:183
MethodHash
()
plumbing/format/diff/unified_encoder_test.go:1051
MethodHash
Hash implements the plumbing.EncodedObject interface.
plumbing/format/packfile/fsobject.go:105
MethodHash
()
plumbing/format/packfile/object_pack_test.go:34
MethodHash
()
plumbing/format/packfile/object_pack.go:122
MethodHashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/file.go:269
MethodHashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/commitgraph.go:40
MethodHashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/memory.go:62
MethodHashes
Hashes returns all the hashes that are available in the index.
plumbing/format/commitgraph/v2/file.go:387
MethodHashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/v2/memory.go:74
MethodID
ID returns the object ID of the tree. The returned value will always match the current value of Tree.Hash. ID is present to fulfill the Object interf
plumbing/object/tree.go:206
MethodID
ID returns the object ID of the blob. The returned value will always match the current value of Blob.Hash. ID is present to fulfill the Object interf
plumbing/object/blob.go:45
MethodID
ID returns the object ID of the tag, not the object that the tag references. The returned value will always match the current value of Tag.Hash. ID i
plumbing/object/tag.go:69
MethodID
ID returns the object ID of the commit. The returned value will always match the current value of Commit.Hash. ID is present to fulfill the Object in
plumbing/object/commit.go:174
MethodID
()
plumbing/object/commitgraph/commitnode_object.go:50
MethodIndex
()
storage/memory/storage.go:77
MethodIndex
()
storage/filesystem/index.go:35
MethodIndex
Index returns a file pointer for read to the index file
storage/filesystem/dotgit/dotgit.go:190
MethodIndex
Index returns a previously created MemoryIndex or creates a new one if needed.
plumbing/format/idxfile/writer.go:33
← previousnext →2,001–2,100 of 4,185, ranked by callers