MCPcopy Create free account

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

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

↓ 3 callersMethodparseColon
parseColon extract : statements
internal/revision/parser.go:451
↓ 3 callersMethodparseRef
parseRef extract reference name
internal/revision/parser.go:566
↓ 3 callersFunctionparseSignedBytes
parseSignedBytes returns the position of the last signature block found in the given bytes. If no signature block is found, it returns -1. When multi
plumbing/object/signature.go:84
↓ 3 callersFunctionpathFixture
returns nodersFixture as the path of "1".
utils/merkletrie/noder/noder_test.go:62
↓ 3 callersMethodprepareRepository
(c *C, f *fixtures.Fixture, name string)
plumbing/transport/ssh/upload_pack_test.go:69
↓ 3 callersFunctionprintStat
printStat prints the stats of changes in content of files. Original implementation: https://github.com/git/git/blob/1a87c842ece327d03d08096395969aca5e
plumbing/object/patch.go:242
↓ 3 callersMethodprintf
(msg string, args ...interface{})
plumbing/format/config/encoder.go:79
↓ 3 callersFunctionrandBytes
(n int)
plumbing/format/packfile/delta_test.go:79
↓ 3 callersMethodreadHash
()
plumbing/protocol/packp/ulreq_decode.go:99
↓ 3 callersMethodreadReferenceFrom
(rd io.Reader, name string)
storage/filesystem/dotgit/dotgit.go:658
↓ 3 callersFunctionreset
reset resets the default algos value. Can be used after running tests that registers new algorithms to avoid side effects.
plumbing/hash/hash.go:22
↓ 3 callersMethodrestoreOriginal
(otp *ObjectToPack)
plumbing/format/packfile/delta_selector.go:185
↓ 3 callersMethodreverse
()
utils/merkletrie/difftree_test.go:115
↓ 3 callersFunctiontestAlternates
(t *testing.T, dotFS, altFS billy.Filesystem)
storage/filesystem/dotgit/dotgit_test.go:838
↓ 3 callersFunctiontestCommitAndTree
(c *C, nodeIndex CommitNodeIndex)
plumbing/object/commitgraph/commitnode_test.go:89
↓ 3 callersFunctiontestDecodeHelper
(c *C, fs billy.Filesystem, path string)
plumbing/format/commitgraph/commitgraph_test.go:24
↓ 3 callersFunctiontestParents
(c *C, nodeIndex CommitNodeIndex)
plumbing/object/commitgraph/commitnode_test.go:67
↓ 3 callersFunctiontestReadIndex
(c *C, fs billy.Filesystem, path string)
plumbing/format/commitgraph/v2/commitgraph_test.go:28
↓ 3 callersFunctiontestWalker
(c *C, nodeIndex CommitNodeIndex)
plumbing/object/commitgraph/commitnode_test.go:33
↓ 3 callersMethodwithAddedOption
(key string, value string)
plumbing/format/config/option.go:88
↓ 3 callersMethodwriteGlobalConfig
(c *C, cfg *config.Config)
options_test.go:99
↓ 3 callersMethodwriteHistory
(c *C, files ...[]byte)
plumbing/object/commit_stats_test.go:71
↓ 2 callersMethodAdd
Add adds the change c to the list of changes.
utils/merkletrie/change.go:105
↓ 2 callersMethodAdd
Add adds new node to the memory index
plumbing/format/commitgraph/memory.go:71
↓ 2 callersMethodAddGlob
AddGlob adds all paths, matching pattern, to the index. If pattern matches a directory path, all directory contents are added to the index recursively
worktree_status.go:377
↓ 2 callersMethodAdvertisedReferencesContext
AdvertisedReferences retrieves the advertised references from the server.
plumbing/transport/internal/common/common.go:181
↓ 2 callersMethodAll
All returns a slice with all defined capabilities.
plumbing/protocol/packp/capability/list.go:169
↓ 2 callersFunctionApplyDelta
ApplyDelta writes to target the result of applying the modification deltas in delta to base.
plumbing/format/packfile/patch_delta.go:50
↓ 2 callersMethodApplyInsteadOf
(url string)
config/url.go:75
↓ 2 callersMethodBlob
Blob returns the blob pointed to by the tag. If the tag points to a different type of object ErrUnsupportedObject will be returned.
plumbing/object/tag.go:228
↓ 2 callersFunctionCloneContext
CloneContext a repository into the given Storer and worktree Filesystem with the given options, if worktree is nil a bare repository is created. If th
repository.go:231
↓ 2 callersMethodClose
()
plumbing/transport/internal/common/common.go:392
↓ 2 callersMethodClose
Close releases any resources used by the TreeWalker.
plumbing/object/tree.go:498
↓ 2 callersMethodClose
Close releases any resources consumed by the Reader. Calling Close does not close the wrapped io.Reader originally passed to NewReader.
plumbing/format/objfile/reader.go:114
↓ 2 callersMethodClose
Close closes the index
plumbing/format/commitgraph/v2/memory.go:101
↓ 2 callersMethodCommit
Commit it copies the reference information of the temporal storage into the base storage.
storage/transactional/reference.go:119
↓ 2 callersMethodCommitObjects
CommitObjects returns an unsorted CommitIter with all the commits in the repository.
repository.go:1431
↓ 2 callersMethodConfig
Config honors the storer.ConfigStorer interface.
storage/transactional/config.go:30
↓ 2 callersMethodConfigWriter
ConfigWriter returns a file pointer for write to the config file
storage/filesystem/dotgit/dotgit.go:175
↓ 2 callersMethodContent
Content contains the portion of the file.
plumbing/format/diff/patch.go:55
↓ 2 callersMethodCount
Count implements the Index interface.
plumbing/format/idxfile/idxfile.go:224
↓ 2 callersFunctionDecodeUploadPackResponse
DecodeUploadPackResponse decodes r into a new packp.UploadPackResponse
plumbing/transport/internal/common/common.go:483
↓ 2 callersMethodDeleteLooseObject
DeleteLooseObject deletes a loose object if it exists.
plumbing/storer/object.go:77
↓ 2 callersMethodDeleteOldObjectPackAndIndex
DeleteOldObjectPackAndIndex deletes an object pack and the corresponding index file if they exist. Deletion is only performed if the pack is older tha
plumbing/storer/object.go:88
↓ 2 callersMethodDeleteRemote
DeleteRemote delete a remote from the repository and delete the config
repository.go:667
↓ 2 callersMethodDeltaObject
DeltaObject is the same as EncodedObject but without resolving deltas. Deltas will be returned as plumbing.DeltaObject instances.
plumbing/storer/object.go:53
↓ 2 callersFunctionDetectRenames
DetectRenames detects the renames in the given changes on two trees with the given options. It will return the given changes grouping additions and de
plumbing/object/rename.go:19
↓ 2 callersMethodDiff
Diff returns a list of changes between this tree and the provided one
plumbing/object/tree.go:339
↓ 2 callersFunctionDiffTreeWithOptions
DiffTreeWithOptions compares the content and mode of the blobs found via two tree objects with the given options. The provided context must be non-nil
plumbing/object/difftree.go:64
↓ 2 callersMethodDrop
Drop extracts the noder with the alphabetically smaller name in the frame or does nothing if the frame was empty.
utils/merkletrie/internal/frame/frame.go:78
↓ 2 callersMethodEncode
Encode writes the AdvRefs encoding to a writer. All the payloads will end with a newline character. Capabilities, references and shallows are written
plumbing/protocol/packp/advrefs_encode.go:19
↓ 2 callersMethodEncode
Encode transforms a Tree into a plumbing.EncodedObject.
plumbing/object/tree.go:298
↓ 2 callersMethodEncode
Encode transforms a Tag into a plumbing.EncodedObject.
plumbing/object/tag.go:143
↓ 2 callersMethodEncode
Encode transforms a Commit into a plumbing.EncodedObject.
plumbing/object/commit.go:278
↓ 2 callersMethodEncode
Encode encodes the ErrorLine into a packet line.
plumbing/format/pktline/error.go:32
↓ 2 callersMethodEncode
Encode writes the config in git config format to the stream of the encoder.
plumbing/format/config/encoder.go:24
↓ 2 callersMethodEncode
Encode writes an index into the commit-graph file Deprecated: This package uses the wrong types for Generation and Index in CommitData. Use the v2 pa
plumbing/format/commitgraph/encoder.go:35
↓ 2 callersMethodEncode
Encode writes an index into the commit-graph file
plumbing/format/commitgraph/v2/encoder.go:27
↓ 2 callersMethodEntriesByOffset
EntriesByOffset returns an iterator to retrieve all index entries ordered by offset.
plumbing/format/idxfile/idxfile.go:42
↓ 2 callersMethodError
Error returns the error that caused that the CommitIter is no longer returning commits
plumbing/object/commit_walker_bfs_filtered.go:113
↓ 2 callersMethodFilesystem
Filesystem returns the underlying filesystem
storage/filesystem/storage.go:74
↓ 2 callersMethodFindCRC32
FindCRC32 finds the CRC32 of the object with the given hash.
plumbing/format/idxfile/idxfile.go:33
↓ 2 callersMethodForEach
ForEach call the cb function for each tag contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent the iter
plumbing/object/tag.go:312
↓ 2 callersMethodForEachObjectHash
ForEachObjectHash iterates over the hashes of objects found under the .git/objects/ directory and executes the provided function.
storage/filesystem/dotgit/dotgit.go:421
↓ 2 callersMethodFs
Fs returns the underlying filesystem of the DotGit folder.
storage/filesystem/dotgit/dotgit.go:1213
↓ 2 callersMethodGeneration
Generation returns the generation of the commit for reachability analysis. Objects with newer generation are not reachable from objects of older gener
plumbing/object/commitgraph/commitnode.go:31
↓ 2 callersMethodGenerationV2
GenerationV2 stores the corrected commit date for the commits It combines the contents of the GDA2 and GDO2 sections of the commit-graph with the comm
plumbing/object/commitgraph/commitnode.go:35
↓ 2 callersMethodGenerationV2Data
GenerationV2Data returns the corrected commit date for the commits
plumbing/format/commitgraph/v2/commitgraph.go:32
↓ 2 callersMethodGetAll
GetAll returns an iterator with all encoded objects in the packfile. The iterator returned is not thread-safe, it should be used in the same thread as
plumbing/format/packfile/packfile.go:480
↓ 2 callersMethodGetByOffset
GetByOffset retrieves the encoded object from the packfile at the given offset.
plumbing/format/packfile/packfile.go:90
↓ 2 callersMethodGetSizeByOffset
GetSizeByOffset retrieves the size of the encoded object from the packfile with the given offset.
plumbing/format/packfile/packfile.go:101
↓ 2 callersFunctionGetZlibWriter
GetZlibWriter returns a *zlib.Writer that is managed by a sync.Pool. Returns a writer that is resetted with w and ready for use. After use, the *zlib
utils/sync/zlib.go:65
↓ 2 callersMethodGrep
Grep performs grep on a worktree.
worktree.go:961
↓ 2 callersMethodHasSubsection
HasSubsection checks if the Section has a Subsection with the specified name.
plumbing/format/config/section.go:83
↓ 2 callersMethodHash
()
storage/filesystem/dotgit/reader.go:22
↓ 2 callersMethodHash
Hash returns the hash of a hash reference
plumbing/reference.go:273
↓ 2 callersMethodHash
()
plumbing/object/treenoder.go:53
↓ 2 callersMethodHashesWithPrefix
HashesWithPrefix returns all objects with a hash that starts with a prefix by searching for them in the packfile and the git object directories.
storage/filesystem/object.go:555
↓ 2 callersMethodIndexWriter
IndexWriter returns a file pointer for write to the index file
storage/filesystem/dotgit/dotgit.go:185
↓ 2 callersFunctionIsBinary
IsBinary detects if data is a binary value based on: http://git.kernel.org/cgit/git/git.git/tree/xdiff-interface.c?id=HEAD#n198
utils/binary/read.go:156
↓ 2 callersMethodIsName
IsName checks if the name of the subsection is exactly the specified name.
plumbing/format/config/section.go:143
↓ 2 callersMethodIsWritten
IsWritten returns if that ObjectToPack was already written into the packfile or not
plumbing/format/packfile/object_pack.go:65
↓ 2 callersMethodIterEncodedObjects
IterEncodedObjects returns an iterator for all the objects in the packfile with the given type.
storage/filesystem/object.go:595
↓ 2 callersMethodKill
Kill and close the session whatever the state it is. It will block until the command is terminated.
plumbing/transport/internal/common/common.go:77
↓ 2 callersMethodLazyWriter
LazyWriter enables an object to be lazily written. It returns: - w: a writer to receive the object's content. - lwh: a func to write the object header
plumbing/format/packfile/parser.go:189
↓ 2 callersMethodLen
()
utils/merkletrie/difftree_test.go:228
↓ 2 callersMethodLen
()
plumbing/protocol/packp/ulreq_decode_test.go:120
↓ 2 callersFunctionLoadConfig
LoadConfig loads a config file from a given scope. The returned Config, contains exclusively information from the given scope. If it couldn't find a c
config/config.go:163
↓ 2 callersMethodMarshal
Marshal returns Modules encoded as a git-config file.
config/modules.go:59
↓ 2 callersMethodMatch
Match matches the given path to the pattern.
plumbing/format/gitignore/pattern.go:29
↓ 2 callersFunctionMatchesScpLike
MatchesScpLike returns true if the given string matches an SCP-like format scheme.
internal/url/url.go:22
↓ 2 callersMethodMergeBase
MergeBase mimics the behavior of `git merge-base actual other`, returning the best common ancestor between the actual and the passed one. The best com
plumbing/object/merge_base.go:17
↓ 2 callersMethodModifyEndpointIfRedirect
(res *http.Response)
plumbing/transport/http/common.go:302
↓ 2 callersMethodName
Name returns the name of a reference
plumbing/reference.go:268
↓ 2 callersMethodName
Name is name of the auth
plumbing/transport/http/common.go:361
↓ 2 callersMethodName
Name is name of the auth
plumbing/transport/http/common.go:394
↓ 2 callersMethodName
()
plumbing/transport/ssh/auth_method.go:48
↓ 2 callersMethodName
()
plumbing/transport/ssh/auth_method.go:72
↓ 2 callersMethodName
()
plumbing/transport/ssh/auth_method.go:95
↓ 2 callersMethodName
()
plumbing/transport/ssh/auth_method.go:144
← previousnext →701–800 of 4,185, ranked by callers