MCPcopy Create free account

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

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

↓ 3 callersMethodMerge
Merge merges the reference branch into the current branch. If the merge is not possible (or supported) returns an error without changing the HEAD for
repository.go:1780
↓ 3 callersFunctionNew
New takes the octal string representation of a FileMode and returns the FileMode and a nil error. If the string can not be parsed to a 32 bit unsigne
plumbing/filemode/filemode.go:58
↓ 3 callersFunctionNewBaseStorageSuite
(s Storer)
storage/test/storage_suite.go:41
↓ 3 callersFunctionNewClient
NewClient creates a new client with a custom net/http client. See `InstallProtocol` to install and override default http client. If the net/http clien
plumbing/transport/http/common.go:128
↓ 3 callersFunctionNewCommitIter
NewCommitIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns a CommitIter that iterates over all commits contained in t
plumbing/object/commit.go:476
↓ 3 callersFunctionNewCommitPostorderIter
NewCommitPostorderIter returns a CommitIter that walks the commit history like WalkCommitHistory but in post-order. This means that after walking a me
plumbing/object/commit_walker.go:129
↓ 3 callersFunctionNewContextWriteCloser
NewContextWriteCloser as NewContextWriter but with io.Closer interface.
utils/ioutil/common.go:149
↓ 3 callersFunctionNewEncodedObjectLookupIter
NewEncodedObjectLookupIter returns an object iterator given an object storage and a slice of object hashes.
plumbing/storer/object.go:133
↓ 3 callersFunctionNewFile
NewFile returns a File based on the given blob object
plumbing/object/file.go:26
↓ 3 callersFunctionNewIndexStorage
NewIndexStorage returns a new IndexStorer based on a base storer and a temporal storer.
storage/transactional/index.go:18
↓ 3 callersFunctionNewMultiEncodedObjectIter
NewMultiEncodedObjectIter returns an object iterator for the given slice of EncodedObjectIters.
plumbing/storer/object.go:227
↓ 3 callersMethodNewObject
NewObject return a writer for a new object file.
storage/filesystem/dotgit/dotgit.go:343
↓ 3 callersFunctionNewObjectLRU
NewObjectLRU creates a new ObjectLRU with the given maximum size. The maximum size will never be exceeded.
plumbing/cache/object_lru.go:23
↓ 3 callersMethodNewObjectPack
NewObjectPack return a writer for a new packfile, it saves the packfile to disk and also generates and save the index for the given packfile.
storage/filesystem/dotgit/dotgit.go:215
↓ 3 callersFunctionNewPermanentError
(err error)
plumbing/error.go:9
↓ 3 callersFunctionNewShallowStorage
NewShallowStorage returns a new ShallowStorage based on a base storer and a temporal storer.
storage/transactional/shallow.go:16
↓ 3 callersFunctionNewTagIter
NewTagIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns a *TagIter that iterates over all tags contained in the store
plumbing/object/tag.go:294
↓ 3 callersMethodNext
()
plumbing/storer/reference.go:33
↓ 3 callersMethodNext
()
plumbing/storer/object.go:263
↓ 3 callersFunctionObjectsWithStorageForIgnores
ObjectsWithStorageForIgnores is the same as Objects, but a secondary storage layer can be provided, to be used to finding the full set of objects to b
plumbing/revlist/revlist.go:32
↓ 3 callersFunctionOpenFileIndex
OpenFileIndex opens a serialized commit graph file in the format described at https://github.com/git/git/blob/master/Documentation/technical/commit-gr
plumbing/format/commitgraph/file.go:60
↓ 3 callersMethodOption
Option returns the value for the specified key. Empty string is returned if key does not exists.
plumbing/format/config/section.go:108
↓ 3 callersMethodParent
Parent returns the ith parent of a commit.
plumbing/object/commit.go:140
↓ 3 callersFunctionParseObjectType
ParseObjectType parses a string representation of ObjectType. It returns an error on parse failure.
plumbing/object.go:93
↓ 3 callersMethodPatch
Patch returns a slice of Patch objects with all the changes between trees in chunks. This representation can be used to create several diff outputs.
plumbing/object/tree.go:354
↓ 3 callersMethodPatch
Patch returns a Patch with all the file changes in chunks. This representation can be used to create several diff outputs.
plumbing/object/change.go:86
↓ 3 callersMethodPath
Path returns the complete Path to the file, including the filename.
plumbing/format/diff/patch.go:49
↓ 3 callersMethodPeek
(int)
utils/ioutil/common.go:15
↓ 3 callersMethodPeek
()
plumbing/object/commitgraph/commitnode_walker_helper.go:15
↓ 3 callersMethodPrune
(opt PruneOptions)
prune.go:33
↓ 3 callersMethodPush
Push pushes a new CommitNode to the heap
plumbing/object/commitgraph/commitnode_walker_helper.go:58
↓ 3 callersFunctionRead
Read reads structured binary data from r into data. Bytes are read and decoded in BigEndian order https://golang.org/pkg/encoding/binary/#Read
utils/binary/read.go:16
↓ 3 callersFunctionReadAttributesFile
(fs billy.Filesystem, path []string, attributesFile string, allowMacro bool)
plumbing/format/gitattributes/dir.go:21
↓ 3 callersMethodRemoveGlob
RemoveGlob removes all paths, matching pattern, from the index. If pattern matches a directory path, all directory contents are removed from the index
worktree_status.go:652
↓ 3 callersMethodRemoveReference
RemoveReference honors the storer.ReferenceStorer interface.
storage/transactional/reference.go:112
↓ 3 callersMethodReset
Reset returns the ANSI escape sequence to reset the color with key set from cc. If no color was set then no reset is needed so it returns the empty st
plumbing/format/diff/colorconfig.go:92
↓ 3 callersMethodSetDelta
(base *ObjectToPack, delta plumbing.EncodedObject)
plumbing/format/packfile/object_pack.go:160
↓ 3 callersMethodStderrPipe
StderrPipe returns a pipe that will be connected to the command's standard error when the command starts. It should not be called after Start.
plumbing/transport/internal/common/common.go:56
↓ 3 callersMethodStdoutContext
(ctx context.Context)
plumbing/transport/internal/common/common.go:311
↓ 3 callersMethodTagObjects
TagObjects returns a unsorted TagIter that can step through all of the annotated tags in the repository.
repository.go:1465
↓ 3 callersMethodTags
Tags returns all the tag References in a repository. If you want to check to see if the tag is an annotated tag, you can call TagObject on the hash R
repository.go:1369
↓ 3 callersMethodTree
Tree returns the tree that the tree walker most recently operated on.
plumbing/object/tree.go:484
↓ 3 callersMethodUnmarshal
Unmarshal parses a git-config file and stores it.
config/modules.go:45
↓ 3 callersMethodUpdateContext
UpdateContext the registered submodule to match what the superproject expects, the submodule should be initialized first calling the Init method or se
submodule.go:178
↓ 3 callersMethodValidate
()
plumbing/transport/common.go:129
↓ 3 callersMethodValidate
Validate validates fields of branch
config/branch.go:41
↓ 3 callersMethodValidate
Validate validates the fields and sets the default values.
config/config.go:599
↓ 3 callersMethodValue
()
plumbing/format/gitattributes/attributes.go:43
↓ 3 callersMethodWrite
Write writes p in the PackData channel
plumbing/protocol/packp/sideband/muxer.go:36
↓ 3 callersFunctionWriteVariableWidthInt
(w io.Writer, n int64)
utils/binary/write.go:20
↓ 3 callersMethodaddRefsFromRefDir
(refs *[]*plumbing.Reference, seen map[plumbing.ReferenceName]bool)
storage/filesystem/dotgit/dotgit.go:945
↓ 3 callersFunctionapplyHeadersToRequest
it requires a bytes.Buffer, because we need to know the length
plumbing/transport/http/common.go:26
↓ 3 callersFunctionassertInfoRefs
(c *C, st storage.Storer, fs billy.Filesystem)
plumbing/serverinfo/serverinfo_test.go:37
↓ 3 callersFunctionassertObjectPacks
(c *C, st storage.Storer, fs billy.Filesystem)
plumbing/serverinfo/serverinfo_test.go:91
↓ 3 callersFunctionbenchMarkReferenceString
(r *Reference, b *testing.B)
plumbing/reference_test.go:165
↓ 3 callersMethodcachePut
(obj plumbing.EncodedObject)
plumbing/format/packfile/packfile.go:469
↓ 3 callersMethodcheckRemoteReference
(c *C, ep *transport.Endpoint, refName string, head plumbing.Hash)
plumbing/transport/test/receive_pack.go:292
↓ 3 callersFunctioncommitIterFunc
(order LogOrder)
repository.go:1319
↓ 3 callersMethodcommitsFromRevs
(c *C, revs []string)
plumbing/object/merge_base_test.go:99
↓ 3 callersMethodcount
()
plumbing/object/rename.go:767
↓ 3 callersFunctiondecodeDir
Expected data: a fsnoder description, for example: A(foo bar qux ...). When isRoot is true, unnamed dirs are supported, for example: (foo bar qux ...)
utils/merkletrie/internal/fsnoder/new.go:26
↓ 3 callersMethoddeleteFromIndex
(idx *index.Index, path string)
worktree_status.go:631
↓ 3 callersMethoddiffStagingWithWorktree
(reverse, excludeIgnoredChanges bool)
worktree_status.go:116
↓ 3 callersMethoddoRemoveFile
(idx *index.Index, path string)
worktree_status.go:622
↓ 3 callersMethodencodedObject
(h plumbing.Hash)
plumbing/format/packfile/delta_selector.go:132
↓ 3 callersMethodentry
(baseName string)
plumbing/object/tree.go:184
↓ 3 callersFunctionexpand_ref
(s storer.ReferenceStorer, ref plumbing.ReferenceName)
repository.go:1527
↓ 3 callersMethodfetch
(ctx context.Context, o *FetchOptions)
remote.go:401
↓ 3 callersMethodfindHashIndex
(h plumbing.Hash)
plumbing/format/idxfile/idxfile.go:71
↓ 3 callersMethodfindObjectInPackfile
(h plumbing.Hash)
storage/filesystem/object.go:542
↓ 3 callersMethodfinish
()
plumbing/transport/internal/common/common.go:374
↓ 3 callersMethodgetFromUnpacked
(h plumbing.Hash)
storage/filesystem/object.go:391
↓ 3 callersMethodgetOffset
(firstLevel, secondLevel int)
plumbing/format/idxfile/idxfile.go:142
↓ 3 callersFunctiongetPatchContext
(ctx context.Context, message string, changes ...*Change)
plumbing/object/patch.go:29
↓ 3 callersMethodhasIncomingObjects
hasIncomingObjects searches for an incoming directory and keeps its name so it doesn't have to be found each time an object is accessed.
storage/filesystem/dotgit/dotgit.go:588
↓ 3 callersMethodhasPack
(h plumbing.Hash)
storage/filesystem/dotgit/dotgit.go:544
↓ 3 callersMethodhashContent
(r io.Reader, size int64, isBin bool)
plumbing/object/rename.go:592
↓ 3 callersMethodincomingObjectPath
incomingObjectPath is intended to add support for a git pre-receive hook to be written it adds support for go-git to find objects in an "incoming" dir
storage/filesystem/dotgit/dotgit.go:576
↓ 3 callersFunctioninvalidOffsetSize
(offset, sz, srcSz uint)
plumbing/format/packfile/patch_delta.go:519
↓ 3 callersFunctioninvalidSize
(sz, targetSz uint)
plumbing/format/packfile/patch_delta.go:515
↓ 3 callersFunctionisCopyFromDelta
(cmd byte)
plumbing/format/packfile/patch_delta.go:444
↓ 3 callersFunctionisCopyFromSrc
(cmd byte)
plumbing/format/packfile/patch_delta.go:440
↓ 3 callersMethodisSeen
(hash plumbing.Hash)
object_walker.go:42
↓ 3 callersFunctionmakeChange
(c *C, from *File, to *File)
plumbing/object/rename_test.go:502
↓ 3 callersFunctionnewChangesFromString
(s string)
utils/merkletrie/difftree_test.go:167
↓ 3 callersFunctionnewLines
(contents []string, commits []*object.Commit)
blame.go:149
↓ 3 callersFunctionnewRepository
(s storage.Storer, worktree billy.Filesystem)
repository.go:496
↓ 3 callersFunctionnewSession
(c *client, ep *transport.Endpoint, auth transport.AuthMethod)
plumbing/transport/http/common.go:227
↓ 3 callersFunctionnewSimilarityIndex
()
plumbing/object/rename.go:568
↓ 3 callersFunctionnewUlReqEncoder
(w io.Writer)
plumbing/protocol/packp/ulreq_encode.go:29
↓ 3 callersMethodnextBoth
NextBoth makes d advance to the next noder in both merkletries. If any of them is a directory, it skips its contents.
utils/merkletrie/doubleiter.go:71
↓ 3 callersMethodnextFrom
NextFrom makes d advance to the next noder in the "from" merkletrie, skipping its contents if it is a directory.
utils/merkletrie/doubleiter.go:84
↓ 3 callersMethodnextLine
Reads a new pkt-line from the scanner, makes its payload available as p.line and increments p.nLine. A successful invocation returns true, otherwise,
plumbing/protocol/packp/advrefs_decode.go:70
↓ 3 callersMethodnextTo
NextTo makes d advance to the next noder in the "to" merkletrie, skipping its contents if it is a directory.
utils/merkletrie/doubleiter.go:91
↓ 3 callersMethodobjectPath
(h plumbing.Hash)
storage/filesystem/dotgit/dotgit.go:562
↓ 3 callersFunctionobjectsEqual
(c *C, o1, o2 plumbing.EncodedObject)
plumbing/format/packfile/encoder_test.go:272
↓ 3 callersFunctionoverrideConfig
(overrides *ssh.ClientConfig, c *ssh.ClientConfig)
plumbing/transport/ssh/common.go:259
↓ 3 callersFunctionpackfileFromReader
(c *C, buf *bytes.Buffer)
plumbing/format/packfile/encoder_test.go:298
↓ 3 callersMethodparseAt
parseAt extract @ statements
internal/revision/parser.go:252
↓ 3 callersMethodparseCaret
parseCaret extract ^ statements
internal/revision/parser.go:358
← previousnext →601–700 of 4,185, ranked by callers