Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ functions
Functions
4,185 in github.com/go-git/go-git
⨍
Functions
4,185
◇
Types & classes
657
Function
ExampleRepository_CreateRemote
()
example_test.go:140
Function
ExampleRepository_References
()
example_test.go:118
Function
ExampleSigner
()
signer_test.go:28
Method
Execute
Execute runs the command.
cli/go-git/update_server_info.go:26
Method
Execute
(args []string)
cli/go-git/upload_pack.go:25
Method
Execute
(args []string)
cli/go-git/receive_pack.go:24
Method
Execute
(args []string)
cli/go-git/version.go:10
Method
Fetch
Fetch fetches references along with the objects necessary to complete their histories, from the remote named as FetchOptions.RemoteName. Returns nil
repository.go:1185
Method
File
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
Method
FilePatches
()
plumbing/format/diff/unified_encoder_test.go:1002
Method
Files
()
plumbing/object/patch.go:182
Method
Files
Files returns a FileIter allowing to iterate over the Tree
plumbing/object/tree.go:198
Method
Files
Files returns a FileIter allowing to iterate over the Tree
plumbing/object/commit.go:161
Method
Files
()
plumbing/format/diff/unified_encoder_test.go:1023
Method
FindCRC32
FindCRC32 implements the Index interface.
plumbing/format/idxfile/idxfile.go:156
Method
FindHash
FindHash implements the Index interface.
plumbing/format/idxfile/idxfile.go:172
Method
FindOffset
FindOffset implements the Index interface.
plumbing/format/idxfile/idxfile.go:116
Method
Flush
()
plumbing/format/packfile/scanner.go:451
Method
ForEach
(func(*object.Commit) error)
repository_test.go:2196
Method
ForEach
(cb func(plumbing.EncodedObject) error)
storage/filesystem/object.go:698
Method
ForEach
(cb func(plumbing.EncodedObject) error)
storage/filesystem/object.go:789
Method
ForEach
(cb func(plumbing.EncodedObject) error)
storage/filesystem/object.go:838
Method
ForEach
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
Method
ForEach
(func(plumbing.EncodedObject) error)
plumbing/storer/object.go:104
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_limit.go:44
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_path.go:146
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_bfs.go:78
Method
ForEach
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
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker.go:95
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker.go:163
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker.go:303
Method
ForEach
(cb func(*Commit) error)
plumbing/object/commit_walker_ctime.go:81
Method
ForEach
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
Method
ForEach
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
Method
ForEach
(cb func(CommitNode) error)
plumbing/object/commitgraph/commitnode_walker_topo_order.go:139
Method
ForEach
(cb func(CommitNode) error)
plumbing/object/commitgraph/commitnode_walker_ctime.go:84
Method
ForEach
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
Method
ForEach
(f func(plumbing.EncodedObject) error)
plumbing/format/packfile/packfile.go:605
Method
ForEachObjectHash
(fun func(plumbing.Hash) error)
storage/memory/storage.go:176
Function
FuzzDecode
(f *testing.F)
plumbing/object/tree_test.go:1654
Function
FuzzDecoder
(f *testing.F)
plumbing/protocol/packp/uppackresp_test.go:133
Function
FuzzDecoder
(f *testing.F)
plumbing/format/config/decoder_test.go:96
Function
FuzzNewEndpoint
(f *testing.F)
plumbing/transport/common_test.go:214
Function
FuzzParseSignedBytes
(f *testing.F)
plumbing/object/signature_test.go:182
Function
FuzzParser
(f *testing.F)
internal/revision/parser_test.go:402
Function
FuzzPatchDelta
(f *testing.F)
plumbing/format/packfile/delta_test.go:181
Method
Generation
()
plumbing/object/commitgraph/commitnode_graph.go:116
Method
Generation
()
plumbing/object/commitgraph/commitnode_object.go:81
Method
GenerationV2
()
plumbing/object/commitgraph/commitnode_graph.go:123
Method
GenerationV2
()
plumbing/object/commitgraph/commitnode_object.go:88
Method
Get
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
Method
Get
(alias, key string)
plumbing/transport/ssh/common_test.go:201
Method
Get
(hash plumbing.Hash)
plumbing/object/commitgraph/commitnode_graph.go:43
Method
Get
(hash plumbing.Hash)
plumbing/object/commitgraph/commitnode_object.go:26
Method
Get
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
Method
GetCommitDataByIndex
(idx int)
plumbing/format/commitgraph/file.go:187
Method
GetCommitDataByIndex
GetNodeByIndex gets the commit node from the commit graph using index obtained from child node, if available
plumbing/format/commitgraph/commitgraph.go:38
Method
GetCommitDataByIndex
GetCommitDataByIndex gets the commit node from the commit graph using index obtained from child node, if available
plumbing/format/commitgraph/memory.go:39
Method
GetCommitDataByIndex
GetCommitDataByIndex returns the commit data for the given index in the commit-graph.
plumbing/format/commitgraph/v2/file.go:227
Method
GetCommitDataByIndex
GetCommitDataByIndex gets the commit node from the commit graph using index obtained from child node, if available
plumbing/format/commitgraph/v2/memory.go:51
Method
GetHashByIndex
GetHashByIndex looks up the hash for the given index in the commit-graph.
plumbing/format/commitgraph/v2/file.go:335
Method
GetHashByIndex
GetHashByIndex gets the hash given an index in the commit graph
plumbing/format/commitgraph/v2/memory.go:41
Method
GetIndexByHash
(h plumbing.Hash)
plumbing/format/commitgraph/file.go:157
Method
GetIndexByHash
GetIndexByHash gets the index in the commit graph from commit hash, if available
plumbing/format/commitgraph/commitgraph.go:35
Method
GetIndexByHash
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
Method
GoString
()
plumbing/format/config/option.go:25
Method
Grep
Grep performs grep on a repository.
worktree.go:927
Function
HandlerSSH
(s ssh.Session)
plumbing/transport/ssh/internal/test/test_utils.go:14
Method
HasEncodedObject
(h plumbing.Hash)
storage/memory/storage.go:117
Method
HasEncodedObject
HasEncodedObject returns nil if the object exists, without actually reading the object data from storage.
storage/filesystem/object.go:164
Method
HasEncodedObject
(h plumbing.Hash)
plumbing/storer/object_test.go:136
Method
HasGenerationV2
()
plumbing/format/commitgraph/v2/file.go:406
Method
HasGenerationV2
()
plumbing/format/commitgraph/v2/memory.go:96
Method
Hash
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
Method
Hash
()
utils/merkletrie/internal/fsnoder/dir.go:73
Method
Hash
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
Method
Hash
Hash returns the hash of the final noder of the path.
utils/merkletrie/noder/path.go:46
Method
Hash
()
utils/merkletrie/noder/noder_test.go:23
Method
Hash
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
Method
Hash
()
plumbing/cache/object_test.go:181
Method
Hash
()
plumbing/object/patch.go:153
Method
Hash
()
plumbing/object/tree_test.go:183
Method
Hash
()
plumbing/format/diff/unified_encoder_test.go:1051
Method
Hash
Hash implements the plumbing.EncodedObject interface.
plumbing/format/packfile/fsobject.go:105
Method
Hash
()
plumbing/format/packfile/object_pack_test.go:34
Method
Hash
()
plumbing/format/packfile/object_pack.go:122
Method
Hashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/file.go:269
Method
Hashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/commitgraph.go:40
Method
Hashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/memory.go:62
Method
Hashes
Hashes returns all the hashes that are available in the index.
plumbing/format/commitgraph/v2/file.go:387
Method
Hashes
Hashes returns all the hashes that are available in the index
plumbing/format/commitgraph/v2/memory.go:74
Method
ID
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
Method
ID
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
Method
ID
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
Method
ID
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
Method
ID
()
plumbing/object/commitgraph/commitnode_object.go:50
Method
Index
()
storage/memory/storage.go:77
Method
Index
()
storage/filesystem/index.go:35
Method
Index
Index returns a file pointer for read to the index file
storage/filesystem/dotgit/dotgit.go:190
Method
Index
Index returns a previously created MemoryIndex or creates a new one if needed.
plumbing/format/idxfile/writer.go:33
← previous
next →
2,001–2,100 of 4,185, ranked by callers