MCPcopy Create free account

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

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

↓ 1 callersFunctionDst
Dst computes and returns the destination text.
utils/diff/diff.go:42
↓ 1 callersMethodEmpty
()
plumbing/object/patch.go:172
↓ 1 callersMethodEncode
Encode encodes an UploadPackResponse.
plumbing/protocol/packp/uppackresp.go:74
↓ 1 callersMethodEncode
Encode encodes the UploadHaves into the Writer. If flush is true, a flush command will be encoded at the end of the writer content.
plumbing/protocol/packp/uppackreq.go:73
↓ 1 callersMethodEncode
Encode writes the ReferenceUpdateRequest encoding to the stream.
plumbing/protocol/packp/updreq_encode.go:13
↓ 1 callersMethodEncode
(w io.Writer)
plumbing/object/patch.go:128
↓ 1 callersMethodEncode
Encode transforms a Blob into a plumbing.EncodedObject.
plumbing/object/blob.go:70
↓ 1 callersMethodEncode
Encode creates a packfile containing all the objects referenced in hashes and writes it to the writer in the Encoder. `packWindow` specifies the size
plumbing/format/packfile/encoder.go:49
↓ 1 callersMethodEncodeWithoutSignature
EncodeWithoutSignature export a Tag into a plumbing.EncodedObject without the signature (correspond to the payload of the PGP signature).
plumbing/object/tag.go:148
↓ 1 callersMethodEncodeWithoutSignature
EncodeWithoutSignature export a Commit into a plumbing.EncodedObject without the signature (correspond to the payload of the PGP signature).
plumbing/object/commit.go:283
↓ 1 callersMethodEncodedObject
EncodedObject honors the storer.EncodedObjectStorer interface.
storage/transactional/object.go:46
↓ 1 callersMethodEncodedObjectSize
EncodedObjectSize honors the storer.EncodedObjectStorer interface.
storage/transactional/object.go:36
↓ 1 callersMethodEntries
Entries implements the Index interface.
plumbing/format/idxfile/idxfile.go:229
↓ 1 callersMethodError
()
plumbing/error.go:17
↓ 1 callersMethodError
Error returns the error, if any.
plumbing/protocol/packp/report_status.go:149
↓ 1 callersMethodError
Error implements the error interface.
plumbing/format/pktline/error.go:27
↓ 1 callersFunctionExecuteOnPath
(c *C, path string, cmds ...string)
repository_test.go:3313
↓ 1 callersMethodFetchContext
FetchContext fetches references along with the objects necessary to complete their histories, from the remote named as FetchOptions.RemoteName. Retur
repository.go:1198
↓ 1 callersMethodFilePatches
()
plumbing/object/patch.go:120
↓ 1 callersFunctionFindScpLikeComponents
FindScpLikeComponents returns the user, host, port and path of the given SCP-like URL.
internal/url/url.go:28
↓ 1 callersMethodFinished
()
plumbing/format/idxfile/writer.go:60
↓ 1 callersMethodForEach
ForEach call the cb function for each reference contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent th
plumbing/storer/reference.go:204
↓ 1 callersMethodForEach
ForEach call the cb function for each object contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent the i
plumbing/storer/object.go:163
↓ 1 callersMethodForEach
ForEach call the cb function for each object contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent the i
plumbing/storer/object.go:251
↓ 1 callersMethodForEach
ForEach call the cb function for each tree contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent the ite
plumbing/object/tree.go:537
↓ 1 callersMethodForEach
ForEach call the cb function for each object contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent the i
plumbing/object/object.go:207
↓ 1 callersMethodForEach
ForEach call the cb function for each blob contained on this iter until an error happens or the end of the iter is reached. If ErrStop is sent the ite
plumbing/object/blob.go:131
↓ 1 callersMethodForEachObjectHash
(fun func(plumbing.Hash) error)
storage/filesystem/object.go:866
↓ 1 callersMethodGenerate
()
plumbing/format/diff/unified_encoder.go:193
↓ 1 callersMethodGet
Get returns an object by its hash. It marks the object as used. If the object is not in the cache, (nil, false) will be returned.
plumbing/cache/object_lru.go:80
↓ 1 callersMethodGet
Get returns a buffer by its key. It marks the buffer as used. If the buffer is not in the cache, (nil, false) will be returned.
plumbing/cache/buffer_lru.go:77
↓ 1 callersMethodGetIndexByHash
GetIndexByHash gets the index in the commit graph from commit hash, if available
plumbing/format/commitgraph/memory.go:28
↓ 1 callersMethodGetIndexByHash
GetIndexByHash gets the index in the commit graph from commit hash, if available
plumbing/format/commitgraph/v2/memory.go:31
↓ 1 callersMethodGoString
()
plumbing/format/config/section.go:42
↓ 1 callersMethodGoString
()
plumbing/format/config/section.go:53
↓ 1 callersMethodHasEncodedObject
HasEncodedObject honors the storer.EncodedObjectStorer interface.
storage/transactional/object.go:26
↓ 1 callersMethodHasOption
HasOption checks if the Section has an Option with the given key.
plumbing/format/config/section.go:119
↓ 1 callersMethodHasOption
HasOption checks if the Subsection has an Option with the given key.
plumbing/format/config/section.go:160
↓ 1 callersMethodHasSection
HasSection checks if the Config has a section with the specified name.
plumbing/format/config/common.go:48
↓ 1 callersMethodHash
Hash returns the hash of the object data stream that has been read so far.
plumbing/format/objfile/reader.go:108
↓ 1 callersMethodHash
Hash returns the hash of the object data stream that has been written so far. It can be called before or after Close.
plumbing/format/objfile/writer.go:96
↓ 1 callersFunctionHashEqual
HashEqual returns if a and b have the same hash.
utils/merkletrie/internal/fsnoder/new.go:197
↓ 1 callersMethodHashesWithPrefix
(prefix []byte)
repository.go:1863
↓ 1 callersMethodID
()
plumbing/object/commitgraph/commitnode_graph.go:74
↓ 1 callersMethodID
ID returns the ID of the packfile, which is the checksum at the end of it.
plumbing/format/packfile/packfile.go:512
↓ 1 callersMethodIndex
Index honors the storer.IndexStorer interface.
storage/transactional/index.go:36
↓ 1 callersMethodInit
Init initialize the submodule reading the recorded Entry in the index for the given submodule
submodule.go:39
↓ 1 callersMethodIsClean
IsClean is the HEAD of the submodule is equals to the expected commit
submodule.go:366
↓ 1 callersMethodIsDelta
()
plumbing/format/packfile/object_pack.go:156
↓ 1 callersMethodIsDir
IsDir returns if the final noder of the path is a directory-like noder.
utils/merkletrie/noder/path.go:57
↓ 1 callersMethodIsDir
()
utils/merkletrie/filesystem/node.go:69
↓ 1 callersMethodIsEmpty
IsEmpty returns whether a request is empty - it is empty if Haves are contained in the Wants, or if Wants length is zero, and we don't have any shallo
plumbing/protocol/packp/uppackreq.go:43
↓ 1 callersMethodIsEmpty
IsEmpty returns true if the List is empty
plumbing/protocol/packp/capability/list.go:43
↓ 1 callersMethodIsMalformed
IsMalformed returns if the FileMode should not appear in a git packfile, this is: Empty and any other mode not mentioned as a constant in this package
plumbing/filemode/filemode.go:127
↓ 1 callersMethodIsRemote
IsRemote check if a reference is a remote
plumbing/reference.go:104
↓ 1 callersMethodIsUnspecified
()
plumbing/format/gitattributes/attributes.go:41
↓ 1 callersMethodIsUntracked
IsUntracked checks if file for given path is 'Untracked'
status.go:24
↓ 1 callersMethodIsValueSet
()
plumbing/format/gitattributes/attributes.go:42
↓ 1 callersMethodIterEncodedObjects
IterEncodedObjects honors the storer.EncodedObjectStorer interface.
storage/transactional/object.go:56
↓ 1 callersMethodLess
Less defines a compare function to determine which commit is 'earlier' by: - First use Committer.When - If Committer.When are equal then use Author.Wh
plumbing/object/commit.go:438
↓ 1 callersMethodListContext
List the references on the remote repository. The provided Context must be non-nil. If the context expires before the operation is complete, an error
remote.go:1329
↓ 1 callersMethodLoad
Load returns a storer.Storer for given a transport.Endpoint by looking it up in the map. Returns transport.ErrRepositoryNotFound if the endpoint does
plumbing/transport/server/loader.go:57
↓ 1 callersFunctionLoadSystemPatterns
LoadSystemPatterns loads gitattributes patterns and attributes from the gitattributes file declared in a system's /etc/gitconfig file. If the etc/git
plumbing/format/gitattributes/dir.go:126
↓ 1 callersFunctionLoadSystemPatterns
LoadSystemPatterns loads gitignore patterns from the gitignore file declared in a system's /etc/gitconfig file. If the /etc/gitconfig file does not e
plumbing/format/gitignore/dir.go:142
↓ 1 callersMethodLooseObjectTime
LooseObjectTime looks up the (m)time associated with the loose object (that is not in a pack file). Some implementations (e.g. without loose objects)
plumbing/storer/object.go:75
↓ 1 callersMethodMarkWantWrite
MarkWantWrite marks this ObjectToPack as WantWrite to avoid delta chain loops
plumbing/format/packfile/object_pack.go:71
↓ 1 callersFunctionMatchAny
MatchAny returns true if any of the RefSpec match with the given ReferenceName.
config/refspec.go:147
↓ 1 callersFunctionMatchesScheme
MatchesScheme returns true if the given string matches a URL-like format scheme.
internal/url/url.go:16
↓ 1 callersMethodMaximumNumberOfHashes
MaximumNumberOfHashes returns the maximum number of hashes within the index
plumbing/format/commitgraph/v2/commitgraph.go:54
↓ 1 callersMethodMessage
Message returns an optional message that can be at the top of the Patch representation.
plumbing/format/diff/patch.go:26
↓ 1 callersFunctionMustParseTime
(value string)
plumbing/object/object_test.go:206
↓ 1 callersMethodName
()
utils/merkletrie/noder/noder_test.go:24
↓ 1 callersFunctionNewChanges
NewChanges returns an empty list of changes.
utils/merkletrie/change.go:100
↓ 1 callersFunctionNewClient
NewClient returns a transport.Transport implementing a client with an embedded server.
plumbing/transport/server/server.go:39
↓ 1 callersFunctionNewColorConfig
NewColorConfig returns a new ColorConfig.
plumbing/format/diff/colorconfig.go:78
↓ 1 callersFunctionNewCommitAllIter
NewCommitAllIter returns a new commit iterator for all refs. repoStorer is a repo Storer used to get commits and references. commitIterFunc is a commi
plumbing/object/commit_walker.go:196
↓ 1 callersFunctionNewCommitFileIterFromIter
NewCommitFileIterFromIter is kept for compatibility, can be replaced with NewCommitPathIterFromIter
plumbing/object/commit_walker_path.go:32
↓ 1 callersFunctionNewCommitLimitIterFromIter
(commitIter CommitIter, limitOptions LogLimitOptions)
plumbing/object/commit_walker_limit.go:20
↓ 1 callersFunctionNewCommitNodeIterAuthorDateOrder
NewCommitNodeIterAuthorDateOrder returns a CommitNodeIter that walks the commit history, starting at the given commit and visiting its parents in Auth
plumbing/object/commitgraph/commitnode_walker_author_order.go:17
↓ 1 callersFunctionNewCommitNodeIterCTime
NewCommitNodeIterCTime returns a CommitNodeIter that walks the commit history, starting at the given commit and visiting its parents while preserving
plumbing/object/commitgraph/commitnode_walker_ctime.go:27
↓ 1 callersFunctionNewCommitNodeIterDateOrder
NewCommitNodeIterDateOrder returns a CommitNodeIter that walks the commit history, starting at the given commit and visiting its parents in Committer
plumbing/object/commitgraph/commitnode_walker_date_order.go:14
↓ 1 callersFunctionNewCommitNodeIterTopoOrder
NewCommitNodeIterTopoOrder returns a CommitNodeIter that walks the commit history, starting at the given commit and visiting its parents in a topologi
plumbing/object/commitgraph/commitnode_walker_topo_order.go:25
↓ 1 callersFunctionNewContextWriter
NewContextWriter wraps a writer to make it respect given Context. If there is a blocking write, the returned Writer will return whenever the context i
utils/ioutil/common.go:137
↓ 1 callersFunctionNewDelete
NewDelete returns a new Change representing the deletion of n.
utils/merkletrie/change.go:63
↓ 1 callersFunctionNewEncodedObject
(dir *DotGit, h plumbing.Hash, t plumbing.ObjectType, size int64)
storage/filesystem/dotgit/reader.go:72
↓ 1 callersMethodNewEncodedObject
()
storage/filesystem/object.go:94
↓ 1 callersFunctionNewFSObject
NewFSObject creates a new filesystem object.
plumbing/format/packfile/fsobject.go:27
↓ 1 callersFunctionNewFilesystemLoader
NewFilesystemLoader creates a Loader that ignores host and resolves paths with a given base filesystem.
plumbing/transport/server/loader.go:30
↓ 1 callersFunctionNewInsert
NewInsert returns a new Change representing the insertion of n.
utils/merkletrie/change.go:60
↓ 1 callersFunctionNewMemoryIndex
NewMemoryIndex creates in-memory commit graph representation Deprecated: This package uses the wrong types for Generation and Index in CommitData. Us
plumbing/format/commitgraph/memory.go:21
↓ 1 callersFunctionNewNoteReferenceName
NewNoteReferenceName returns a reference name describing a note based on his short name.
plumbing/reference.go:71
↓ 1 callersFunctionNewReadCloserOnError
NewReadCloserOnError returns a io.ReadCloser that call the notify function when an unexpected (!io.EOF) error happens, after call Read function.
utils/ioutil/common.go:173
↓ 1 callersFunctionNewReaderUsingReaderAt
(r io.ReaderAt, offset int64)
utils/ioutil/common.go:118
↓ 1 callersFunctionNewRemoteReferenceName
NewRemoteReferenceName returns a reference name describing a remote branch based on his short name and the remote name.
plumbing/reference.go:77
↓ 1 callersMethodNewRepositoryFromPackfile
(f *fixtures.Fixture)
common_test.go:102
↓ 1 callersFunctionNewWriterOnError
NewWriterOnError returns a io.Writer that call the notify function when an unexpected (!io.EOF) error happens, after call Write function.
utils/ioutil/common.go:193
↓ 1 callersMethodNext
Next returns the path of the next node without descending deeper into the trie and nil. If there are no more entries in the trie it returns nil and i
utils/merkletrie/iter.go:121
↓ 1 callersMethodNext
()
storage/filesystem/object.go:774
↓ 1 callersMethodNext
()
storage/filesystem/object.go:819
↓ 1 callersMethodNext
Next returns the next reference from the iterator. If the iterator has reached the end it will return io.EOF as an error.
plumbing/storer/reference.go:53
← previousnext →1,101–1,200 of 4,185, ranked by callers