MCPcopy Create free account

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

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

MethodencodeCRC32
(idx *MemoryIndex)
plumbing/format/idxfile/encoder.go:83
MethodencodeChecksums
(idx *MemoryIndex)
plumbing/format/idxfile/encoder.go:130
MethodencodeDepth
()
plumbing/protocol/packp/ulreq_encode.go:108
MethodencodeFanout
(idx *MemoryIndex)
plumbing/format/idxfile/encoder.go:56
FunctionencodeFirstLine
Adds the first pkt-line payload: head hash, head ref and capabilities. If HEAD ref is not found, the first reference ordered in increasing order will
plumbing/protocol/packp/advrefs_encode.go:101
MethodencodeFirstWant
()
plumbing/protocol/packp/ulreq_encode.go:50
FunctionencodeFlush
(e *advRefsEncoder)
plumbing/protocol/packp/advrefs_encode.go:173
MethodencodeFlush
()
plumbing/protocol/packp/ulreq_encode.go:138
MethodencodeHashes
(idx *MemoryIndex)
plumbing/format/idxfile/encoder.go:66
MethodencodeHeader
(idx *MemoryIndex)
plumbing/format/idxfile/encoder.go:47
MethodencodeOffsets
(idx *MemoryIndex)
plumbing/format/idxfile/encoder.go:102
FunctionencodePrefix
(e *advRefsEncoder)
plumbing/protocol/packp/advrefs_encode.go:80
FunctionencodeRefs
Adds the (sorted) refs: hash SP refname EOL and their peeled refs if any.
plumbing/protocol/packp/advrefs_encode.go:130
FunctionencodeShallow
Adds the (sorted) shallows: "shallow" SP hash EOL
plumbing/protocol/packp/advrefs_encode.go:152
MethodencodeShallows
()
plumbing/protocol/packp/ulreq_encode.go:88
FunctiongenerationAndDateOrderComparator
generationAndDateOrderComparator compares two CommitNode objects based on their generation and commit time. If the left CommitNode object is in a high
plumbing/object/commitgraph/commitnode_walker_helper.go:91
FunctiongetFullPath
(treePath, path string)
_examples/ls/main.go:122
FunctiongetSHA1
(t plumbing.ObjectType, data []byte)
plumbing/format/packfile/parser.go:561
FunctionhandlerSSH
(s ssh.Session)
plumbing/transport/ssh/upload_pack_test.go:91
Functioninit
()
worktree_windows.go:13
Functioninit
()
worktree_bsd.go:12
Functioninit
()
worktree_linux.go:12
Functioninit
()
worktree.go:463
Functioninit
()
worktree_plan9.go:10
Functioninit
()
worktree_js.go:12
Functioninit
()
worktree_unix_other.go:12
Functioninit
()
plumbing/hash/hash.go:16
Methodinit
(buf []byte)
plumbing/format/packfile/delta_index.go:14
MethodisDepth
()
plumbing/protocol/packp/ulreq.go:25
MethodisDepth
()
plumbing/protocol/packp/ulreq.go:34
MethodisDepth
()
plumbing/protocol/packp/ulreq.go:43
MethodisDepth
()
plumbing/protocol/packp/ulreq.go:52
FunctionisEquals
(a, b noder.Hasher)
utils/merkletrie/index/node_test.go:108
FunctionisSymlinkWindowsNonAdmin
(err error)
worktree_windows.go:23
FunctionisSymlinkWindowsNonAdmin
(err error)
worktree_bsd.go:24
FunctionisSymlinkWindowsNonAdmin
(err error)
worktree_linux.go:24
FunctionisSymlinkWindowsNonAdmin
(err error)
worktree_plan9.go:29
FunctionisSymlinkWindowsNonAdmin
(err error)
worktree_unix_other.go:24
Functionmain
Example of how to show the progress when you do a basic clone operation.
_examples/progress/main.go:11
Functionmain
Retrieve remote tags without cloning repository
_examples/ls-remote/main.go:15
Functionmain
Open an existing repository in a specific folder.
_examples/open/main.go:13
Functionmain
Example how to resolve a revision into its commit counterpart
_examples/ls/main.go:25
Functionmain
Basic example of how to blame a repository.
_examples/blame/main.go:12
Functionmain
Graceful cancellation example of a basic git operation such as Clone.
_examples/context/main.go:13
Functionmain
Example of how to: - Create a new in-memory repository - Create a new remote named "example" - List remotes and print them - Pull using the new remote
_examples/remotes/main.go:20
Functionmain
Example of how to open a repository in a specific path, and push to its default remote (origin).
_examples/push/main.go:12
Functionmain
Basic example of how to clone a repository using clone options.
_examples/clone/main.go:12
Functionmain
()
_examples/clone/auth/ssh/private_key/main.go:12
Functionmain
()
_examples/clone/auth/ssh/ssh_agent/main.go:12
Functionmain
()
_examples/clone/auth/basic/username_password/main.go:12
Functionmain
()
_examples/clone/auth/basic/access_token/main.go:12
Functionmain
Example of how to: - Clone a repository into memory - Get the HEAD reference - Using the HEAD reference, obtain the commit this reference is pointing
_examples/log/main.go:18
Functionmain
Basic example of how to commit changes to the current branch to an existing repository.
_examples/commit/main.go:16
Functionmain
Command that mimics `git merge-base --all <baseRev> <headRev>` Command that mimics `git merge-base --is-ancestor <baseRev> <headRev>` Command that mim
_examples/merge_base/main.go:44
Functionmain
Basic example of how to checkout a specific commit.
_examples/checkout/main.go:13
Functionmain
()
_examples/azure_devops/main.go:14
Functionmain
Example of an specific use case: - Clone a repository in a specific path - Get the HEAD reference - Using the HEAD reference, obtain the commit this r
_examples/showcase/main.go:22
Functionmain
Example how to resolve a revision into its commit counterpart
_examples/revision/main.go:13
Functionmain
This example requires building with the sha256 tag for it to work: go run -tags sha256 main.go /tmp/repository Basic example of how to initialise a re
_examples/sha256/main.go:19
Functionmain
An example of how to create and remove branches or any other kind of reference.
_examples/branch/main.go:12
Functionmain
Here is an example to configure http client according to our own needs.
_examples/custom_http/main.go:18
Functionmain
Basic example of how to find if HEAD is tagged.
_examples/find-if-any-tag-point-head/main.go:13
Functionmain
Basic example of how to clone a repository including a submodule and updating submodule ref
_examples/submodule/main.go:12
Functionmain
Basic example of how to list tags.
_examples/tag/main.go:14
Functionmain
Pull changes from a remote repository
_examples/pull/main.go:12
Functionmain
Checkout a branch
_examples/checkout-branch/main.go:14
Functionmain
Example of how create a tag and push it to a remote.
_examples/tag-create-push/main.go:16
Functionmain
()
cli/go-git/main.go:16
Methodmarshal
()
config/branch.go:60
Methodmarshal
()
config/url.go:48
MethodonError
(err error)
plumbing/transport/internal/common/common.go:318
FunctionpreReceiveHook
preReceiveHook returns the bytes of a pre-receive hook script that prints m before exiting successfully
repository_windows_test.go:7
FunctionpreReceiveHook
preReceiveHook returns the bytes of a pre-receive hook script that prints m before exiting successfully
repository_plan9_test.go:10
FunctionreadCRC32
(idx *MemoryIndex, r io.Reader)
plumbing/format/idxfile/decoder.go:130
FunctionreadChecksums
(idx *MemoryIndex, r io.Reader)
plumbing/format/idxfile/decoder.go:168
FunctionreadFanout
(idx *MemoryIndex, r io.Reader)
plumbing/format/idxfile/decoder.go:87
FunctionreadObjectNames
(idx *MemoryIndex, r io.Reader)
plumbing/format/idxfile/decoder.go:101
FunctionreadOffsets
(idx *MemoryIndex, r io.Reader)
plumbing/format/idxfile/decoder.go:142
FunctionreadVersion
(idx *MemoryIndex, r io.Reader)
plumbing/format/idxfile/decoder.go:73
MethodremoveTransport
(opts transportOptions)
plumbing/transport/http/transport.go:22
Methodreverse
()
utils/merkletrie/difftree_test.go:250
Methodscan
Scan extracts tokens and their strings counterpart from the reader
internal/revision/scanner.go:60
MethodsetPackfile
()
plumbing/protocol/packp/updreq_decode.go:198
Methodtree
(c *C, h plumbing.Hash)
plumbing/object/object_test.go:38
MethodwriteTo
(sb *strings.Builder, color ColorConfig)
plumbing/format/diff/unified_encoder.go:323
← previous4,101–4,185 of 4,185, ranked by callers