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
↓ 1 callers
Function
filteredParentIter
(c *Commit, seen map[plumbing.Hash]bool)
plumbing/object/commit_walker.go:82
↓ 1 callers
Function
findIndex
(idx *similarityIndex, key int)
plumbing/object/rename_test.go:457
↓ 1 callers
Function
findLongestInsteadOfMatch
(remoteURL string, urls map[string]*URL)
config/url.go:59
↓ 1 callers
Method
findMatch
findMatch returns the offset of src where the block starting at tgtOffset is and the length of the match. A length of 0 means there was no match. A le
plumbing/format/packfile/delta_index.go:26
↓ 1 callers
Function
findMatchInFile
findMatchInFile takes a single File, worktree name and GrepOptions, and returns a slice of GrepResult containing the result of regex pattern matching
worktree.go:1008
↓ 1 callers
Function
findMatchInFiles
findMatchInFiles takes a FileIter, worktree name and GrepOptions, and returns a slice of GrepResult containing the result of regex pattern matching in
worktree.go:968
↓ 1 callers
Method
fixAndBreakChains
(objectsToPack []*ObjectToPack)
plumbing/format/packfile/delta_selector.go:136
↓ 1 callers
Method
fixAndBreakChainsOne
(objectsToPack map[plumbing.Hash]*ObjectToPack, otp *ObjectToPack)
plumbing/format/packfile/delta_selector.go:151
↓ 1 callers
Function
flattenObjectMap
(m map[plumbing.Hash]plumbing.EncodedObject)
storage/memory/storage.go:161
↓ 1 callers
Method
footer
()
plumbing/format/packfile/encoder.go:199
↓ 1 callers
Function
formatCaps
(c *capability.List)
plumbing/protocol/packp/advrefs_encode.go:120
↓ 1 callers
Function
formatCommand
(cmd *Command)
plumbing/protocol/packp/updreq_encode.go:73
↓ 1 callers
Function
freePort
()
plumbing/transport/git/common_test.go:105
↓ 1 callers
Method
genOffsetHash
genOffsetHash generates the offset/hash mapping for reverse search.
plumbing/format/idxfile/idxfile.go:199
↓ 1 callers
Method
get
(o *objectInfo, buf *bytes.Buffer)
plumbing/format/packfile/parser.go:371
↓ 1 callers
Method
getCommitFromCheckoutOptions
(opts *CheckoutOptions)
worktree.go:229
↓ 1 callers
Function
getCommitNodeIndex
(r *git.Repository, fs billy.Filesystem)
_examples/ls/main.go:84
↓ 1 callers
Function
getCommitTree
(c commitgraph.CommitNode, treePath string)
_examples/ls/main.go:105
↓ 1 callers
Function
getDefaultKnownHostsFiles
()
plumbing/transport/ssh/auth_method.go:253
↓ 1 callers
Function
getEsc
getEsc gets a possibly-escaped character from chunk, for a character class.
plumbing/format/index/match.go:165
↓ 1 callers
Method
getExtensionReader
()
plumbing/format/index/decoder.go:283
↓ 1 callers
Function
getFileHashes
(c commitgraph.CommitNode, treePath string, paths []string)
_examples/ls/main.go:132
↓ 1 callers
Method
getHashesFromIndexes
(indexes []int)
plumbing/format/commitgraph/file.go:251
↓ 1 callers
Method
getHashesFromIndexes
(indexes []uint32)
plumbing/format/commitgraph/v2/file.go:355
↓ 1 callers
Function
getHavesFromRef
getHavesFromRef populates the given `haves` map with the given reference, and up to `maxHavesToVisitPerRef` ancestor commits.
remote.go:869
↓ 1 callers
Method
getHostWithPort
()
plumbing/transport/git/common.go:73
↓ 1 callers
Function
getLastCommitForPaths
(c commitgraph.CommitNode, treePath string, paths []string)
_examples/ls/main.go:157
↓ 1 callers
Method
getNextFileCommit
()
plumbing/object/commit_walker_path.go:59
↓ 1 callers
Method
getObjectContent
(offset int64)
plumbing/format/packfile/packfile.go:274
↓ 1 callers
Function
getPatch
(message string, changes ...*Change)
plumbing/object/patch.go:24
↓ 1 callers
Function
getPath
(u *url.URL)
plumbing/transport/common.go:260
↓ 1 callers
Method
getPending
()
plumbing/protocol/packp/sideband/demux.go:139
↓ 1 callers
Function
getPort
(u *url.URL)
plumbing/transport/common.go:246
↓ 1 callers
Method
getReaderDirect
(h *ObjectHeader)
plumbing/format/packfile/packfile.go:304
↓ 1 callers
Function
getRemoteRefsFromStorer
(remoteRefStorer storer.ReferenceStorer)
remote.go:847
↓ 1 callers
Method
getSubmodulesStatus
()
worktree_status.go:185
↓ 1 callers
Function
getTransport
(endpoint *transport.Endpoint)
plumbing/transport/client/client.go:41
↓ 1 callers
Function
getWants
(localStorer storage.Storer, refs memory.ReferenceStorage, depth int)
remote.go:1048
↓ 1 callers
Method
globMatch
(path []string, isDir bool)
plumbing/format/gitignore/pattern.go:107
↓ 1 callers
Function
groupChangesByHash
(changes []*Change)
plumbing/object/rename.go:360
↓ 1 callers
Method
grow
()
plumbing/object/rename.go:782
↓ 1 callers
Method
handleAdvRefDecodeError
(err error)
plumbing/transport/internal/common/common.go:205
↓ 1 callers
Function
hasChildrenWithNoName
(children []noder.Noder)
utils/merkletrie/internal/fsnoder/dir.go:49
↓ 1 callers
Function
hasDuplicatedNames
(children []noder.Noder)
utils/merkletrie/internal/fsnoder/dir.go:59
↓ 1 callers
Method
hasFileChange
(changes Changes, parent *Commit)
plumbing/object/commit_walker_path.go:116
↓ 1 callers
Method
hash
(f *File)
plumbing/object/rename.go:576
↓ 1 callers
Function
hashListToSet
(hashes []plumbing.Hash)
plumbing/revlist/revlist.go:223
↓ 1 callers
Function
hashSetToList
(hashes map[plumbing.Hash]bool)
plumbing/revlist/revlist.go:214
↓ 1 callers
Method
head
(numEntries int)
plumbing/format/packfile/encoder.go:75
↓ 1 callers
Function
helpAndExit
(s string, helpMsg string, code exitCode)
_examples/merge_base/helpers.go:20
↓ 1 callers
Function
hexDecode
Turns the hexadecimal representation of a number in a byte slice into a number. This function substitute strconv.ParseUint(string(buf), 16, 16) and/or
plumbing/format/pktline/scanner.go:123
↓ 1 callers
Method
host
()
plumbing/transport/ssh/auth_method_test.go:24
↓ 1 callers
Function
indent
(t string)
plumbing/object/commit.go:445
↓ 1 callers
Method
indexObjects
()
plumbing/format/packfile/parser.go:192
↓ 1 callers
Function
indexOf
indexOf returns the first position where target was found in the passed commits
plumbing/object/merge_base.go:159
↓ 1 callers
Method
init
()
plumbing/format/gitattributes/matcher.go:27
↓ 1 callers
Function
initStorer
(s storer.Storer)
repository.go:130
↓ 1 callers
Method
innerRun
(c *C, context string, reverse bool)
utils/merkletrie/difftree_test.go:31
↓ 1 callers
Method
innerRunCtx
(c *C, context string, reverse bool)
utils/merkletrie/difftree_test.go:65
↓ 1 callers
Function
installPreReceiveHook
installPreReceiveHook installs a pre-receive hook in the .git directory at path which prints message m before exiting successfully.
repository_test.go:1696
↓ 1 callers
Method
isBlocked
()
storage/filesystem/dotgit/writers.go:211
↓ 1 callers
Method
isDone
()
storage/filesystem/dotgit/writers.go:207
↓ 1 callers
Function
isHex
(s string)
storage/filesystem/dotgit/dotgit.go:1217
↓ 1 callers
Function
isHexAlpha
(b byte)
storage/filesystem/dotgit/dotgit.go:1236
↓ 1 callers
Function
isInIndexCommitFilter
isInIndexCommitFilter returns a commitFilter that returns true if the commit is in the passed index.
plumbing/object/merge_base.go:205
↓ 1 callers
Function
isLetter
(b rune)
utils/merkletrie/internal/fsnoder/new.go:68
↓ 1 callers
Function
isNum
(b byte)
storage/filesystem/dotgit/dotgit.go:1232
↓ 1 callers
Function
isNumber
(b rune)
utils/merkletrie/internal/fsnoder/new.go:64
↓ 1 callers
Function
isParentHash
(hash plumbing.Hash, commit *Commit)
plumbing/object/commit_walker_path.go:137
↓ 1 callers
Function
isPathInDirectory
(path, directory string)
worktree_status.go:306
↓ 1 callers
Function
isPrefix
(payload []byte)
plumbing/protocol/packp/advrefs_decode.go:122
↓ 1 callers
Method
isRoot
()
plumbing/object/treenoder.go:45
↓ 1 callers
Function
isSetCharDevice
(m os.FileMode)
plumbing/filemode/filemode.go:100
↓ 1 callers
Function
isSetSymLink
(m os.FileMode)
plumbing/filemode/filemode.go:112
↓ 1 callers
Function
isSetTemporary
(m os.FileMode)
plumbing/filemode/filemode.go:104
↓ 1 callers
Function
isSetUserExecutable
(m os.FileMode)
plumbing/filemode/filemode.go:108
↓ 1 callers
Function
isSubset
(needle []plumbing.Hash, haystack []plumbing.Hash)
plumbing/protocol/packp/uppackreq.go:47
↓ 1 callers
Method
isSupportedRefSpec
(refs []config.RefSpec, ar *packp.AdvRefs)
remote.go:1182
↓ 1 callers
Method
isSupportedVersion
isSupportedVersion returns whether version v is supported by the parser. The current supported version is VersionSupported, defined above.
plumbing/format/packfile/scanner.go:137
↓ 1 callers
Method
isSymlink
(path string)
worktree.go:820
↓ 1 callers
Function
isSymlinkWindowsNonAdmin
(err error)
worktree_js.go:24
↓ 1 callers
Method
isValidCommand
(b []byte)
plumbing/protocol/packp/srvresp.go:88
↓ 1 callers
Method
isValidSignature
isValidSignature returns if sig is a valid packfile signature.
plumbing/format/packfile/scanner.go:126
↓ 1 callers
Function
keyFor
(c *C, line string)
plumbing/object/rename_test.go:435
↓ 1 callers
Method
knownHosts
()
plumbing/transport/ssh/auth_method_test.go:25
↓ 1 callers
Function
leadingZeros
use https://golang.org/pkg/math/bits/#LeadingZeros32 in the future
plumbing/format/packfile/delta_index.go:185
↓ 1 callers
Function
lenIterEncodedObjects
(iter storer.EncodedObjectIter)
worktree_commit_test.go:524
↓ 1 callers
Method
list
(ctx context.Context, o *ListOptions)
remote.go:1347
↓ 1 callers
Method
listenFirstError
(r io.Reader)
plumbing/transport/internal/common/common.go:149
↓ 1 callers
Method
loadConfigAuthorAndCommitter
(r *Repository)
options.go:585
↓ 1 callers
Method
loadConfigTagger
(r *Repository)
options.go:660
↓ 1 callers
Method
loadIdxFile
(h plumbing.Hash)
storage/filesystem/object.go:76
↓ 1 callers
Method
log
(from plumbing.Hash, commitIterFunc func(*object.Commit) object.CommitIter)
repository.go:1275
↓ 1 callers
Method
logAll
(commitIterFunc func(*object.Commit) object.CommitIter)
repository.go:1293
↓ 1 callers
Method
logWithFile
(fileName string, commitIter object.CommitIter, checkParent bool)
repository.go:1297
↓ 1 callers
Method
logWithLimit
(commitIter object.CommitIter, limitOptions object.LogLimitOptions)
repository.go:1315
↓ 1 callers
Method
logWithPathFilter
(pathFilter func(string) bool, commitIter object.CommitIter, checkParent bool)
repository.go:1307
↓ 1 callers
Function
makeChangeEntry
(f *File)
plumbing/object/rename_test.go:478
↓ 1 callers
Method
marshal
()
config/modules.go:121
↓ 1 callers
Method
marshalBranches
()
config/config.go:527
← previous
next →
1,501–1,600 of 4,185, ranked by callers