MCPcopy Create free account

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

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

↓ 2 callersMethodreadData
(w io.Writer, o *objectInfo)
plumbing/format/packfile/parser.go:514
↓ 2 callersMethodreadGitmodulesFile
()
worktree.go:827
↓ 2 callersFunctionreadIgnoreFile
readIgnoreFile reads a specific git ignore file.
plumbing/format/gitignore/dir.go:28
↓ 2 callersMethodreceivePackNoCheck
(c *C, ep *transport.Endpoint, req *packp.ReferenceUpdateRequest, fixture *fixtures.Fixture, callAdvertisedR
plumbing/transport/test/receive_pack.go:216
↓ 2 callersMethodreferences
()
remote.go:823
↓ 2 callersFunctionrefsRecvFunc
(refs *[]*plumbing.Reference, seen map[plumbing.ReferenceName]bool)
storage/filesystem/dotgit/dotgit.go:799
↓ 2 callersFunctionremoveDirIfEmpty
removeDirIfEmpty will remove the supplied directory `dir` if `dir` is empty returns true if the directory was removed
worktree.go:1081
↓ 2 callersMethodremoveEmptyDirectory
(path string)
worktree_status.go:609
↓ 2 callersMethodresolveObject
resolveObject resolves an object from base, using information provided by o. This call has the side-effect of changing field values from the object i
plumbing/format/packfile/parser.go:457
↓ 2 callersMethodrewritePackedRefsWhileLocked
( tmp billy.File, pr billy.File)
storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go:20
↓ 2 callersMethodscanErrorOr
(origErr error)
plumbing/protocol/packp/updreq_decode.go:243
↓ 2 callersFunctionsetHEAD
(s storer.Storer, ar *packp.AdvRefs)
plumbing/transport/server/server.go:373
↓ 2 callersFunctionsetReferences
(s storer.Storer, ar *packp.AdvRefs)
plumbing/transport/server/server.go:408
↓ 2 callersMethodsetSupportedCapabilities
(c *capability.List)
plumbing/transport/server/server.go:191
↓ 2 callersMethodsetSupportedCapabilities
(c *capability.List)
plumbing/transport/server/server.go:357
↓ 2 callersFunctionsetUpTest
(s *StorageSuite, c *C, storage *Storage)
storage/filesystem/storage_test.go:38
↓ 2 callersFunctionshouldGrowAt
(hashBits int)
plumbing/object/rename.go:778
↓ 2 callersMethodsimpleDeltaTest
(c *C)
plumbing/format/packfile/encoder_test.go:123
↓ 2 callersMethodslot
(key int)
plumbing/object/rename.go:771
↓ 2 callersMethodsort
(objectsToPack []*ObjectToPack)
plumbing/format/packfile/delta_selector.go:216
↓ 2 callersFunctionsortByCommitDateDesc
sortByCommitDateDesc returns the passed commits, sorted by `committer.When desc` Following this strategy, it is tried to reduce the time needed when
plumbing/object/merge_base.go:148
↓ 2 callersMethodstatus
(idx *index.Index)
submodule.go:66
↓ 2 callersFunctiontempFolder
()
_examples/common_test.go:83
↓ 2 callersMethodtestCheckoutBisect
TestCheckoutBisect simulates a git bisect going through the git history and checking every commit over the previous commit
worktree_test.go:938
↓ 2 callersMethodtestCloneSingleBranchAndNonHEADReference
(c *C, ref string)
repository_test.go:1389
↓ 2 callersMethodtestEncodeDecode
( c *C, storage storer.Storer, packWindow uint, )
plumbing/format/packfile/encoder_advanced_test.go:55
↓ 2 callersMethodtestFetchFastForward
(c *C, sto storage.Storer)
remote_test.go:465
↓ 2 callersMethodtestNextObjectHeader
(c *C, tag string, expected []ObjectHeader, expectedCRC []uint32)
plumbing/format/packfile/scanner_test.go:52
↓ 2 callersFunctiontestObjectPacks
(c *C, fs billy.Filesystem, dir *DotGit, f *fixtures.Fixture)
storage/filesystem/dotgit/dotgit_test.go:471
↓ 2 callersFunctiontestObjects
(c *C, fs billy.Filesystem, dir *DotGit)
storage/filesystem/dotgit/dotgit_test.go:608
↓ 2 callersFunctiontestObjectsWithPrefix
(c *C, fs billy.Filesystem, dir *DotGit)
storage/filesystem/dotgit/dotgit_test.go:617
↓ 2 callersMethodtestPrune
(c *C, deleteTime time.Time)
prune_test.go:22
↓ 2 callersFunctiontestReader
(c *C, source io.Reader, hash plumbing.Hash, t plumbing.ObjectType, content []byte, com string)
plumbing/format/objfile/reader_test.go:29
↓ 2 callersMethodtestRepackObjects
( c *C, deleteTime time.Time, expectedPacks int)
repository_test.go:3248
↓ 2 callersFunctiontestSetRefs
(c *C, dir *DotGit)
storage/filesystem/dotgit/dotgit_test.go:88
↓ 2 callersMethodtoObject
(obj plumbing.EncodedObject)
plumbing/object/object.go:222
↓ 2 callersMethodtop
()
utils/merkletrie/iter.go:99
↓ 2 callersFunctiontypeForSignature
typeForSignature returns the type of the signature based on its format.
plumbing/object/signature.go:47
↓ 2 callersFunctionunmarshalSubmodules
(fc *format.Config, submodules map[string]*Submodule)
config/config.go:375
↓ 2 callersMethodupdateHEAD
(commit plumbing.Hash)
worktree_commit.go:107
↓ 2 callersFunctionupdateReferenceStorerIfNeeded
( s storer.ReferenceStorer, r *plumbing.Reference)
repository.go:1175
↓ 2 callersMethodupdateShallow
(o *FetchOptions, resp *packp.UploadPackResponse)
remote.go:1477
↓ 2 callersMethodupdateSubmodules
(o *SubmoduleUpdateOptions)
worktree.go:151
↓ 2 callersFunctionuploadPackRequestToReader
(req *packp.UploadPackRequest)
plumbing/transport/http/upload_pack.go:109
↓ 2 callersMethoduseRefDeltas
(ar *packp.AdvRefs)
remote.go:236
↓ 2 callersFunctionvalidAttributeName
(name string)
plumbing/format/gitattributes/attributes.go:185
↓ 2 callersFunctionvalidPath
validPath checks whether paths are valid. The rules around invalid paths could differ from upstream based on how filesystems are managed within go-git
worktree.go:428
↓ 2 callersMethodvalidate
(r *Repository)
options.go:752
↓ 2 callersMethodvalidate
validate validates the request.
plumbing/protocol/packp/gitproto.go:33
↓ 2 callersMethodwalk
( objectsToPack []*ObjectToPack, packWindow uint, )
plumbing/format/packfile/delta_selector.go:220
↓ 2 callersMethodwalkAllRefs
walkAllRefs walks all (hash) references from the repo.
object_walker.go:25
↓ 2 callersFunctionwindowsValidPath
(part string)
worktree.go:467
↓ 2 callersMethodwithSettedOption
(key string, values ...string)
plumbing/format/config/option.go:92
↓ 2 callersMethodwithoutOption
(key string)
plumbing/format/config/option.go:78
↓ 2 callersMethodwriteTo
(sb *strings.Builder, color ColorConfig)
plumbing/format/diff/unified_encoder.go:384
↓ 1 callersMethodAction
()
plumbing/protocol/packp/updreq.go:101
↓ 1 callersMethodActualHash
ActualHash returns the hash of the object after applying the delta.
plumbing/object.go:32
↓ 1 callersMethodActualSize
Size returns the size of the object after applying the delta.
plumbing/object.go:34
↓ 1 callersMethodAdd
Add appends new object data.
plumbing/format/idxfile/writer.go:45
↓ 1 callersMethodAdd
Add adds new node to the memory index
plumbing/format/commitgraph/v2/memory.go:83
↓ 1 callersMethodAddOption
AddOption adds a new Option to the Section. The updated Section is returned.
plumbing/format/config/section.go:124
↓ 1 callersMethodAddOption
AddOption adds a new Option to the Subsection. The updated Subsection is returned.
plumbing/format/config/section.go:165
↓ 1 callersMethodAdvertisedReferences
()
plumbing/transport/internal/common/common.go:176
↓ 1 callersMethodAdvertisedReferencesContext
(ctx context.Context)
plumbing/transport/server/server.go:114
↓ 1 callersMethodAdvertisedReferencesContext
(ctx context.Context)
plumbing/transport/server/server.go:214
↓ 1 callersFunctionAssertReferencesMissing
(c *C, r *Repository, expected []string)
common_test.go:230
↓ 1 callersMethodBackToOriginal
BackToOriginal converts that ObjectToPack to a non-deltified object if it was one
plumbing/format/packfile/object_pack.go:55
↓ 1 callersMethodBaseHash
BaseHash returns the hash of the object used as base for this delta.
plumbing/object.go:30
↓ 1 callersFunctionBlame
Blame returns a BlameResult with the information about the last author of each line from file `path` at commit `c`.
blame.go:31
↓ 1 callersMethodBlobObject
BlobObject returns a Blob with the given hash. If not found plumbing.ErrObjectNotFound is returned.
repository.go:1442
↓ 1 callersMethodBlobObjects
BlobObjects returns an unsorted BlobIter with all the blobs in the repository.
repository.go:1447
↓ 1 callersMethodBranches
Branches returns all the References that are Branches.
repository.go:1382
↓ 1 callersMethodBuildTree
BuildTree builds the tree objects and push its to the storer, the hash of the root tree is returned.
worktree_commit.go:177
↓ 1 callersMethodCheckAndSetReference
SetReference honors the storer.ReferenceStorer interface.
storage/transactional/reference.go:38
↓ 1 callersMethodChildren
Children will return the children of a treenoder as treenoders, building them from the children of the wrapped git tree.
plumbing/object/treenoder.go:70
↓ 1 callersFunctionChunkTypeFromBytes
ChunkTypeFromBytes returns the chunk type for the given byte signature.
plumbing/format/commitgraph/v2/chunk.go:43
↓ 1 callersMethodClientConfig
ClientConfig should return a valid ssh.ClientConfig to be used to create a connection to the SSH server.
plumbing/transport/ssh/auth_method.go:26
↓ 1 callersMethodClose
()
storage/filesystem/object.go:806
↓ 1 callersMethodClose
Close releases any resources used by the iterator.
plumbing/storer/reference.go:95
↓ 1 callersMethodClose
Close releases any resources used by the iterator.
plumbing/storer/object.go:168
↓ 1 callersMethodClose
Close releases any resources used by the iterator.
plumbing/storer/object.go:256
↓ 1 callersMethodClose
Close waits for the command to exit.
plumbing/transport/file/client.go:134
↓ 1 callersMethodClose
()
plumbing/object/file.go:135
↓ 1 callersMethodClose
Close closes the CommitIter
plumbing/object/commit_walker_bfs_filtered.go:118
↓ 1 callersMethodClose
Close reads the reader until io.EOF
plumbing/format/packfile/scanner.go:381
↓ 1 callersMethodClose
Close releases any resources consumed by the Writer. Calling Close does not close the wrapped io.Writer originally passed to NewWriter.
plumbing/format/objfile/writer.go:104
↓ 1 callersMethodCommand
(cmd string, ep *transport.Endpoint, auth transport.AuthMethod, )
plumbing/transport/file/client.go:76
↓ 1 callersMethodCommit
Commit it copies the index from the temporal storage into the base storage.
storage/transactional/index.go:45
↓ 1 callersMethodCommit
Commit it copies the shallow information of the temporal storage into the base storage.
storage/transactional/shallow.go:44
↓ 1 callersMethodCommit
Commit it copies the objects of the temporal storage into the base storage.
storage/transactional/object.go:74
↓ 1 callersMethodCommit
Commit it copies the config from the temporal storage into the base storage.
storage/transactional/config.go:39
↓ 1 callersMethodCommit
Commit returns the commit pointed to by the tag. If the tag points to a different type of object ErrUnsupportedObject will be returned.
plumbing/object/tag.go:194
↓ 1 callersMethodCommitTime
()
plumbing/object/commitgraph/commitnode_graph.go:82
↓ 1 callersMethodConfig
Config returns the RemoteConfig object used to instantiate this Remote.
remote.go:77
↓ 1 callersMethodConfig
()
storage/filesystem/config.go:15
↓ 1 callersMethodDecode
(req *ReferenceUpdateRequest)
plumbing/protocol/packp/updreq_decode.go:96
↓ 1 callersMethodDecode
Decode decodes a byte slice into a signature
plumbing/object/object.go:91
↓ 1 callersMethodDeleteBranch
DeleteBranch delete a Branch from the repository and delete the config
repository.go:716
↓ 1 callersFunctionDiffTreeContext
DiffTreeContext compares the content and mode of the blobs found via two tree objects. Provided context must be non-nil. An error will be returned if
plumbing/object/difftree.go:22
↓ 1 callersFunctionDoWithTimeout
DoWithTimeout computes the (line oriented) modifications needed to turn the src string into the dst string. The `timeout` argument specifies the maxim
utils/diff/diff.go:32
← previousnext →1,001–1,100 of 4,185, ranked by callers