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
Method
TestValidateInvalidBranchKey
(c *C)
config/config_test.go:304
Method
TestValidateInvalidRemote
(c *C)
config/config_test.go:265
Method
TestValidateInvalidRemoteKey
(c *C)
config/config_test.go:275
Method
TestValidateMerge
(c *C)
config/branch_test.go:27
Method
TestValidateMissingName
(c *C)
config/modules_test.go:37
Method
TestValidateMissingURL
(c *C)
config/modules_test.go:9
Method
TestValidateName
(c *C)
config/branch_test.go:13
Method
TestValidateShallows
(c *C)
plumbing/protocol/packp/ulreq_test.go:42
Method
TestValidateWants
(c *C)
plumbing/protocol/packp/ulreq_test.go:32
Method
TestVerify
(c *C)
plumbing/object/commit_test.go:461
Method
TestVerify
(c *C)
plumbing/object/tag_test.go:335
Method
TestVerticals
(c *C)
utils/merkletrie/difftree_test.go:364
Method
TestWantOK
(c *C)
plumbing/protocol/packp/ulreq_decode_test.go:56
Method
TestWantWithCapabilities
(c *C)
plumbing/protocol/packp/ulreq_decode_test.go:83
Method
TestWants
(c *C)
plumbing/protocol/packp/ulreq_encode_test.go:78
Method
TestWantsDuplicates
(c *C)
plumbing/protocol/packp/ulreq_encode_test.go:100
Method
TestWantsWithCapabilities
(c *C)
plumbing/protocol/packp/ulreq_encode_test.go:122
Function
TestWindowsValidPath
(t *testing.T)
worktree_test.go:2996
Method
TestWithPackfile
(c *C)
plumbing/protocol/packp/updreq_decode_test.go:239
Method
TestWithPackfile
(c *C)
plumbing/protocol/packp/updreq_encode_test.go:123
Method
TestWithPrefix
(c *C)
plumbing/protocol/packp/advrefs_decode_test.go:242
Method
TestWithPrefixAndFlush
(c *C)
plumbing/protocol/packp/advrefs_decode_test.go:253
Method
TestWorktree
(c *C)
repository_test.go:3146
Method
TestWorktreeBare
(c *C)
repository_test.go:3154
Method
TestWrite
(c *C)
utils/binary/write_test.go:10
Method
TestWriteObjfile
(c *C)
plumbing/format/objfile/writer_test.go:18
Method
TestWriteOverflow
(c *C)
plumbing/format/objfile/writer_test.go:49
Method
TestWriteUint16
(c *C)
utils/binary/write_test.go:34
Method
TestWriteUint32
(c *C)
utils/binary/write_test.go:23
Method
TestWriteVariableWidthInt
(c *C)
utils/binary/write_test.go:45
Method
TestWriteVariableWidthIntShort
(c *C)
utils/binary/write_test.go:53
Method
TestWriter
(c *C)
plumbing/memory_test.go:86
Method
TestWriter
(c *C)
plumbing/format/idxfile/writer_test.go:22
Method
TestWriterLarge
(c *C)
plumbing/format/idxfile/writer_test.go:50
Method
TestZeroId
(c *C)
plumbing/protocol/packp/advrefs_decode_test.go:66
Method
TestZeroValue
(c *C)
plumbing/protocol/packp/ulreq_encode_test.go:42
Method
TestZeroValue
(c *C)
plumbing/protocol/packp/updreq_encode_test.go:29
Method
TestZeroValue
(c *C)
plumbing/protocol/packp/advrefs_encode_test.go:28
Method
Test_newSession
(c *C)
plumbing/transport/http/common_test.go:112
Function
Test_parseSignedBytes
(t *testing.T)
plumbing/object/signature_test.go:65
Function
Test_typeForSignature
(t *testing.T)
plumbing/object/signature_test.go:8
Method
TestuploadPackRequestToReader
(c *C)
plumbing/transport/http/upload_pack_test.go:44
Method
Tree
Tree returns the tree identified by the `path` argument. The path is interpreted as relative to the tree receiver.
plumbing/object/tree.go:105
Method
Tree
Tree returns the tree pointed to by the tag. If the tag points to a commit object the tree of that commit will be returned. If the tag does not point
plumbing/object/tag.go:210
Method
Tree
()
plumbing/object/commitgraph/commitnode_graph.go:78
Method
Tree
()
plumbing/object/commitgraph/commitnode_object.go:54
Method
Type
()
plumbing/cache/object_test.go:182
Method
Type
()
plumbing/object/patch.go:215
Method
Type
Type returns the type of object. It always returns plumbing.TreeObject.
plumbing/object/tree.go:211
Method
Type
Type returns the type of object. It always returns plumbing.BlobObject. Type is present to fulfill the Object interface.
plumbing/object/blob.go:52
Method
Type
Type returns the type of object. It always returns plumbing.TagObject. Type is present to fulfill the Object interface.
plumbing/object/tag.go:76
Method
Type
()
plumbing/object/tree_test.go:184
Method
Type
Type returns the type of object. It always returns plumbing.CommitObject. Type is present to fulfill the Object interface.
plumbing/object/commit.go:181
Method
Type
()
plumbing/format/diff/unified_encoder_test.go:1072
Method
Type
Type implements the plumbing.EncodedObject interface.
plumbing/format/packfile/fsobject.go:111
Method
Type
()
plumbing/format/packfile/object_pack_test.go:35
Method
Update
Update updates all the submodules in this list.
submodule.go:299
Method
UploadPack
( ctx context.Context, req *packp.UploadPackRequest, )
plumbing/transport/http/upload_pack.go:35
Method
UploadPack
UploadPack performs a request to the server to fetch a packfile. A reader is returned with the packfile content. The reader must be closed after readi
plumbing/transport/internal/common/common.go:259
Method
UploadPack
(ctx context.Context, req *packp.UploadPackRequest)
plumbing/transport/server/server.go:138
Method
Usage
Usage returns the usage of the command.
cli/go-git/update_server_info.go:21
Method
Usage
()
cli/go-git/upload_pack.go:19
Method
Usage
()
cli/go-git/receive_pack.go:19
Method
Validate
Validate validates the fields and sets the default values.
options.go:112
Method
Validate
Validate validates the fields and sets the default values.
options.go:165
Method
Validate
Validate validates the fields and sets the default values.
options.go:226
Method
Validate
Validate validates the fields and sets the default values.
options.go:304
Method
Validate
Validate validates the fields and sets the default values.
options.go:370
Method
Validate
Validate validates the fields and sets the default values. TODO: deprecate in favor of Validate(r *Repository) in v6.
options.go:748
Method
Validate
Validate validates the fields and sets the default values.
options.go:782
Method
Validate
Validate validates the fields and sets the default values.
options.go:792
Method
Validate
Validate validates the RefSpec
config/refspec.go:32
Method
Value
()
plumbing/format/gitattributes/attributes.go:73
Method
Write
(p []byte)
storage/filesystem/dotgit/writers.go:178
Method
Writer
()
storage/filesystem/dotgit/reader.go:68
Method
Writer
()
plumbing/cache/object_test.go:187
Method
Writer
()
plumbing/object/tree_test.go:192
Method
Writer
Writer implements the plumbing.EncodedObject interface. This method always returns a nil writer.
plumbing/format/packfile/fsobject.go:117
Method
Writer
()
plumbing/format/packfile/object_pack_test.go:40
Function
decodeCaps
(p *advRefsDecoder)
plumbing/protocol/packp/advrefs_decode.go:203
Method
decodeCaps
Expected format: sp cap1 sp cap2 sp cap3...
plumbing/protocol/packp/ulreq_decode.go:116
Method
decodeCommandAndCapabilities
()
plumbing/protocol/packp/updreq_decode.go:169
Method
decodeCommands
()
plumbing/protocol/packp/updreq_decode.go:149
Method
decodeDeepen
Expected format: deepen <n> / deepen-since <ul> / deepen-not <ref>
plumbing/protocol/packp/ulreq_decode.go:188
Method
decodeDeepenCommits
()
plumbing/protocol/packp/ulreq_decode.go:209
Method
decodeDeepenReference
()
plumbing/protocol/packp/ulreq_decode.go:239
Method
decodeDeepenSince
()
plumbing/protocol/packp/ulreq_decode.go:225
Function
decodeFirstHash
If the first hash is zero, then a no-refs is coming. Otherwise, a list-of-refs is coming, and the hash will be followed by the first advertised ref.
plumbing/protocol/packp/advrefs_decode.go:129
Function
decodeFirstRef
decode the refname, expects SP refname NULL
plumbing/protocol/packp/advrefs_decode.go:174
Method
decodeFirstWant
Expected format: want <hash>[ capabilities]
plumbing/protocol/packp/ulreq_decode.go:79
Method
decodeFlush
()
plumbing/protocol/packp/ulreq_decode.go:247
Function
decodeOtherRefs
The refs are either tips (obj-id SP refname) or a peeled (obj-id SP refname^{}). If there are no refs, then there might be a shallow or flush-ptk.
plumbing/protocol/packp/advrefs_decode.go:214
Method
decodeOtherWants
Expected format: want <hash>
plumbing/protocol/packp/ulreq_decode.go:126
Function
decodePrefix
The HTTP smart prefix is often followed by a flush-pkt.
plumbing/protocol/packp/advrefs_decode.go:94
Function
decodeShallow
Keeps reading shallows until a flush-pkt is found
plumbing/protocol/packp/advrefs_decode.go:257
Method
decodeShallow
Expected format: shallow <hash>
plumbing/protocol/packp/ulreq_decode.go:159
Method
decodeShallow
()
plumbing/protocol/packp/updreq_decode.go:124
Function
decodeSkipNoRefs
Skips SP "capabilities^{}" NUL
plumbing/protocol/packp/advrefs_decode.go:157
Function
diffTreeIsEquals
diffTreeIsEquals is a implementation of noder.Equals, used to compare noder.Noder, it compare the content and the length of the hashes. Since some of
worktree_status.go:255
Method
encodeAdditionalWants
()
plumbing/protocol/packp/ulreq_encode.go:70
← previous
next →
4,001–4,100 of 4,185, ranked by callers