MCPcopy Create free account

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

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

↓ 2 callersMethodName
()
plumbing/transport/ssh/auth_method.go:205
↓ 2 callersFunctionNewBlobIter
NewBlobIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns a *BlobIter that iterates over all blobs contained in the st
plumbing/object/blob.go:107
↓ 2 callersFunctionNewBufferLRU
NewBufferLRU creates a new BufferLRU with the given maximum size. The maximum size will never be exceeded.
plumbing/cache/buffer_lru.go:21
↓ 2 callersFunctionNewBufferLRUDefault
NewBufferLRUDefault creates a new BufferLRU with the default cache size.
plumbing/cache/buffer_lru.go:26
↓ 2 callersFunctionNewClient
NewClient creates a new SSH client with an optional *ssh.ClientConfig.
plumbing/transport/ssh/common.go:33
↓ 2 callersFunctionNewClientWithOptions
NewClientWithOptions returns a new client configured with the provided net/http client and other custom options specific to the client. If the net/htt
plumbing/transport/http/common.go:143
↓ 2 callersFunctionNewContextReader
NewContextReader wraps a reader to make it respect given Context. If there is a blocking read, the returned Reader will return whenever the context is
utils/ioutil/common.go:144
↓ 2 callersFunctionNewEncoder
NewEncoder returns a new encoder that writes to w.
plumbing/format/config/encoder.go:19
↓ 2 callersFunctionNewEncoder
NewEncoder returns a new stream encoder that writes to w. Deprecated: This package uses the wrong types for Generation and Index in CommitData. Use t
plumbing/format/commitgraph/encoder.go:25
↓ 2 callersFunctionNewErrUnexpectedData
NewErrUnexpectedData returns a new ErrUnexpectedData containing the data and the message given
plumbing/protocol/packp/common.go:64
↓ 2 callersFunctionNewError
NewError returns a new error.
plumbing/format/packfile/error.go:11
↓ 2 callersFunctionNewFileIter
NewFileIter takes a storer.EncodedObjectStorer and a Tree and returns a *FileIter that iterates over all files contained in the tree, recursively.
plumbing/object/file.go:83
↓ 2 callersFunctionNewIterFromPath
NewIterFromPath returns a new absolute iterator from the noder at the end of the path p. When iterating, all returned paths will be absolute, using t
utils/merkletrie/iter.go:77
↓ 2 callersFunctionNewKnownHostsCallback
NewKnownHostsCallback returns ssh.HostKeyCallback based on a file based on a known_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT
plumbing/transport/ssh/auth_method.go:232
↓ 2 callersFunctionNewModify
NewModify returns a new Change representing that a has been modified and it is now b.
utils/merkletrie/change.go:67
↓ 2 callersFunctionNewMultiReferenceIter
NewMultiReferenceIter returns an reference iterator for the given slice of EncodedObjectIters.
plumbing/storer/reference.go:180
↓ 2 callersFunctionNewMuxer
NewMuxer returns a new Muxer for the given t that writes on w. If t is equal to `Sideband` the max pack size is set to MaxPackedSize, in any other va
plumbing/protocol/packp/sideband/muxer.go:23
↓ 2 callersFunctionNewObjectCommitNodeIndex
NewObjectCommitNodeIndex returns CommitNodeIndex implementation that uses only object storage to load the nodes
plumbing/object/commitgraph/commitnode_object.go:22
↓ 2 callersFunctionNewObjectIter
NewObjectIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns an *ObjectIter that iterates over all objects contained in
plumbing/object/object.go:178
↓ 2 callersFunctionNewParserFromString
NewParserFromString returns a new instance of parser from a string.
internal/revision/parser.go:110
↓ 2 callersFunctionNewPublicKeysFromFile
NewPublicKeysFromFile returns a PublicKeys from a file containing a PEM encoded private key. An encryption password should be given if the pemBytes co
plumbing/transport/ssh/auth_method.go:135
↓ 2 callersFunctionNewReaderOnError
NewReaderOnError returns a io.Reader that call the notify function when an unexpected (!io.EOF) error happens, after call Read function.
utils/ioutil/common.go:167
↓ 2 callersFunctionNewReferenceUpdateRequestFromCapabilities
NewReferenceUpdateRequestFromCapabilities returns a pointer to a new ReferenceUpdateRequest value, the request capabilities are filled with the most o
plumbing/protocol/packp/updreq.go:58
↓ 2 callersFunctionNewRemoteHEADReferenceName
NewRemoteHEADReferenceName returns a reference name describing a the HEAD branch of a remote.
plumbing/reference.go:83
↓ 2 callersFunctionNewRepositoryFilesystem
(dotGitFs, commonDotGitFs billy.Filesystem)
storage/filesystem/dotgit/repository_filesystem.go:19
↓ 2 callersFunctionNewServer
NewServer returns a transport.Transport implementing a git server, independent of transport. Each transport must wrap this.
plumbing/transport/server/server.go:30
↓ 2 callersFunctionNewTagReferenceName
NewTagReferenceName returns a reference name describing a tag based on short his name.
plumbing/reference.go:89
↓ 2 callersFunctionNewTreeIter
NewTreeIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns a *TreeIter that iterates over all tree contained in the sto
plumbing/object/tree.go:513
↓ 2 callersFunctionNewTreeRootNode
NewTreeRootNode returns the root node of a Tree
plumbing/object/treenoder.go:28
↓ 2 callersFunctionNewUploadPackRequestFromCapabilities
NewUploadPackRequestFromCapabilities creates a new UploadPackRequest and returns a pointer. The request capabilities are filled with the most optimal
plumbing/protocol/packp/uppackreq.go:33
↓ 2 callersFunctionNewUploadRequestFromCapabilities
NewUploadRequestFromCapabilities returns a pointer to a new UploadRequest value, the request capabilities are filled with the most optimal ones, based
plumbing/protocol/packp/ulreq.go:74
↓ 2 callersFunctionNewWriteCloserOnError
NewWriteCloserOnError returns a io.WriteCloser that call the notify function when an unexpected (!io.EOF) error happens, after call Write function.
utils/ioutil/common.go:199
↓ 2 callersMethodNext
Next moves the iterator to the next file and returns a pointer to it. If there are no more files, it returns io.EOF.
plumbing/object/file.go:89
↓ 2 callersMethodNumParents
NumParents returns the number of parents in a commit.
plumbing/object/commit.go:133
↓ 2 callersMethodObject
Object returns the object pointed to by the tag.
plumbing/object/tag.go:237
↓ 2 callersMethodObjectDelete
ObjectDelete removes the object file, if exists
storage/filesystem/dotgit/dotgit.go:644
↓ 2 callersMethodObjectStat
ObjectStat returns a os.FileInfo pointing the object file, if exists
storage/filesystem/dotgit/dotgit.go:626
↓ 2 callersMethodObjectsToPack
ObjectsToPack creates a list of ObjectToPack from the hashes provided, creating deltas if it's suitable, using an specific internal logic. `packWindo
plumbing/format/packfile/delta_selector.go:36
↓ 2 callersMethodObjectsWithPrefix
ObjectsWithPrefix returns the hashes of objects that have the given prefix.
storage/filesystem/dotgit/dotgit.go:350
↓ 2 callersMethodOnFooter
OnFooter is called when decoding is done.
plumbing/format/packfile/parser.go:38
↓ 2 callersMethodOnHeader
OnHeader is called when a new packfile is opened.
plumbing/format/packfile/parser.go:32
↓ 2 callersMethodOnInflatedObjectContent
OnInflatedObjectContent is called for each decoded object.
plumbing/format/packfile/parser.go:36
↓ 2 callersFunctionOpenFileIndexWithParent
OpenFileIndexWithParent opens a serialized commit graph file in the format described at https://github.com/git/git/blob/master/Documentation/technical
plumbing/format/commitgraph/v2/file.go:70
↓ 2 callersMethodPackRefs
()
plumbing/storer/reference.go:28
↓ 2 callersMethodParentHashes
ParentHashes returns hashes of the parent commits for a specified node
plumbing/object/commitgraph/commitnode.go:28
↓ 2 callersFunctionParseBasicAuth
adapted from https://github.com/golang/go/blob/2ef70d9d0f98832c8103a7968b195e560a8bb262/src/net/http/request.go#L959
plumbing/transport/http/internal/test/test_utils.go:28
↓ 2 callersFunctionPlainInitWithOptions
(path string, opts *PlainInitOptions)
repository.go:251
↓ 2 callersMethodPut
Put puts an object into the cache. If the object is already in the cache, it will be marked as used. Otherwise, it will be inserted. A single object m
plumbing/cache/object_lru.go:35
↓ 2 callersFunctionPutZlibWriter
PutZlibWriter puts w back into its sync.Pool.
utils/sync/zlib.go:72
↓ 2 callersFunctionReadConfig
ReadConfig reads a config file from a io.Reader.
config/config.go:146
↓ 2 callersFunctionReadPatterns
ReadPatterns reads the .git/info/exclude and then the gitignore patterns recursively traversing through the directory structure. The result is in the
plumbing/format/gitignore/dir.go:53
↓ 2 callersFunctionReadUint16
ReadUint16 reads 2 bytes and returns them as a BigEndian uint16
utils/binary/read.go:133
↓ 2 callersFunctionReadUntilFromBufioReader
ReadUntilFromBufioReader is like bufio.ReadBytes but drops the delimiter from the result.
utils/binary/read.go:53
↓ 2 callersMethodReader
Reader returns a reader allow the access to the content of the blob
plumbing/object/blob.go:92
↓ 2 callersMethodReference
Reference returns the reference for a given reference name. If resolved is true, any symbolic reference will be resolved.
repository.go:1502
↓ 2 callersFunctionRegisterHash
RegisterHash allows for the hash algorithm used to be overridden. This ensures the hash selection for go-git must be explicit, when overriding the def
plumbing/hash/hash.go:30
↓ 2 callersMethodRepackObjects
(cfg *RepackConfig)
repository.go:1741
↓ 2 callersFunctionReplaceTildeWithHome
(path string)
internal/path_util/path_util.go:9
↓ 2 callersMethodResetSparsely
(opts *ResetOptions, dirs []string)
worktree.go:280
↓ 2 callersMethodSaveOriginalMetadata
SaveOriginalMetadata saves size, type and hash of Original object
plumbing/format/packfile/object_pack.go:88
↓ 2 callersMethodSetConfig
SetConfig honors the storer.ConfigStorer interface.
storage/transactional/config.go:20
↓ 2 callersFunctionSetLogger
SetLogger sets the logger to use for tracing.
utils/trace/trace.go:39
↓ 2 callersMethodSetOriginal
SetOriginal sets both Original and saves size, type and hash. If object is nil Original is set but previous resolved values are kept
plumbing/format/packfile/object_pack.go:82
↓ 2 callersMethodSetShallow
SetShallow honors the storer.ShallowStorer interface.
storage/transactional/shallow.go:24
↓ 2 callersMethodSetUpTest
(c *C)
plumbing/transport/http/common_test.go:239
↓ 2 callersFunctionSetupHTTPSProxy
(proxy *goproxy.ProxyHttpServer, proxiedRequests *int32)
plumbing/transport/http/internal/test/test_utils.go:11
↓ 2 callersMethodShallow
Shallow honors the storer.ShallowStorer interface.
storage/transactional/shallow.go:29
↓ 2 callersMethodShallowWriter
ShallowWriter returns a file pointer for write to the shallow file
storage/filesystem/dotgit/dotgit.go:195
↓ 2 callersMethodSignature
ZeroChunk is not a valid chunk type, but it is used to determine the length of the chunk type list. Signature returns the byte signature for the chunk
plumbing/format/commitgraph/v2/chunk.go:34
↓ 2 callersMethodStartDaemon
(c *C)
plumbing/transport/git/common_test.go:49
↓ 2 callersMethodStatsContext
StatsContext returns the stats of a commit. Error will be return if context expires. Provided context must be non-nil.
plumbing/object/commit.go:374
↓ 2 callersMethodStdinContext
(ctx context.Context)
plumbing/transport/internal/common/common.go:304
↓ 2 callersMethodString
()
plumbing/hash.go:40
↓ 2 callersMethodType
Type returns the type of a reference
plumbing/reference.go:263
↓ 2 callersMethodValid
Valid returns true if t is a valid ObjectType.
plumbing/object.go:81
↓ 2 callersMethodValidate
Validate validates the fields and sets the default values.
options.go:512
↓ 2 callersMethodWriteChannel
WriteChannel writes p in the given channel. This method can be used with any channel, but is recommend use it only for the ProgressMessage and ErrorMe
plumbing/protocol/packp/sideband/muxer.go:43
↓ 2 callersFunctionWriteNopCloser
WriteNopCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.
utils/ioutil/common.go:103
↓ 2 callersMethodaddOrUpdateFileToIndex
(idx *index.Index, filename string, h plumbing.Hash)
worktree_status.go:516
↓ 2 callersMethodaddRecursive
NewInsert or NewDelete
utils/merkletrie/change.go:123
↓ 2 callersMethodadvance
Advances the iterator in the desired direction: descend or dontDescend. Returns the new current element and a nil error on success. If there are no
utils/merkletrie/iter.go:139
↓ 2 callersFunctionalphabeticSortCommits
(commits []*Commit)
plumbing/object/merge_base_test.go:15
↓ 2 callersMethodbuildMap
()
plumbing/object/tree.go:331
↓ 2 callersMethodbuildObject
(content []byte)
plumbing/storer/object_test.go:58
↓ 2 callersMethodcalculateChildren
()
utils/merkletrie/filesystem/node.go:93
↓ 2 callersFunctionchangeHash
(c *Change)
plumbing/object/rename.go:340
↓ 2 callersFunctionchangeMode
(c *Change)
plumbing/object/rename.go:348
↓ 2 callersFunctionchangeName
(c *Change)
plumbing/object/rename.go:333
↓ 2 callersFunctioncheckAndUpdateReferenceStorerIfNeeded
( s storer.ReferenceStorer, r, old *plumbing.Reference)
repository.go:1155
↓ 2 callersMethodcheckExecPerm
(c *C)
plumbing/transport/file/server_test.go:70
↓ 2 callersFunctioncheckFastForwardUpdate
(s storer.EncodedObjectStorer, remoteRefs storer.ReferenceStorer, cmd *packp.Command)
remote.go:1088
↓ 2 callersMethodcheckNotFoundError
()
plumbing/transport/internal/common/common.go:399
↓ 2 callersMethodcheckSupportedCapabilities
(cl *capability.List)
plumbing/transport/server/server.go:96
↓ 2 callersFunctionchildrenFixture
Returns a collection of 2 noders: c1, c2.
utils/merkletrie/noder/noder_test.go:55
↓ 2 callersMethodclean
()
storage/filesystem/dotgit/writers.go:128
↓ 2 callersMethodcleanObjectList
()
storage/filesystem/dotgit/dotgit.go:476
↓ 2 callersMethodcleanPackList
()
storage/filesystem/dotgit/dotgit.go:518
↓ 2 callersMethodcloneRefSpec
(o *CloneOptions)
repository.go:1007
↓ 2 callersMethodcompare
Compare returns the comparison between the current elements in the merkletries.
utils/merkletrie/doubleiter.go:139
↓ 2 callersMethodcompareReaders
(c *C, a io.ReadCloser, b io.ReadCloser)
plumbing/protocol/packp/updreq_decode_test.go:299
← previousnext →801–900 of 4,185, ranked by callers