MCPcopy Create free account

hub / github.com/driusan/dgit / functions

Functions646 in github.com/driusan/dgit

↓ 6 callersMethodRemoveFile
Remove the first instance of file from the index. (This will usually be stage 0.)
git/index.go:604
↓ 6 callersFunctionReset
Reset implementes the "git reset" command and delegates to the appropriate ResetMode or ResetUnstage subcommand. While the third option is a []File s
git/reset.go:27
↓ 6 callersFunctionRevParse
Implements "git rev-parse". This should be refactored in terms of RevParseCommit and cleaned up. (clean up a lot.)
git/revparse.go:370
↓ 6 callersFunctionShowRef
(c *Client, opts ShowRefOptions, patterns []string)
git/showref.go:107
↓ 6 callersMethodTreeType
TreeType prints the entry mode as the type that shows up in the "git ls-tree" command.
git/entrymode.go:25
↓ 6 callersMethodWriteConfig
()
git/config.go:341
↓ 5 callersFunctionCheckoutIndexUncommited
Same as "git checkout-index", except the Index is passed as a parameter (and may not have been written to disk yet). You likely want CheckoutIndex ins
git/checkoutindex.go:165
↓ 5 callersFunctionDiffIndex
DiffIndex compares the index against a tree. If the index passed is nil, it reads the index from the .git directory
git/diffindex.go:19
↓ 5 callersMethodExtendedFlag
()
git/index.go:105
↓ 5 callersMethodFormat
(cl *Client, format string)
git/sha1.go:572
↓ 5 callersFunctionGetIndexMap
Converts the Tree into an IndexEntries, to simplify comparisons between Trees and Indexes
git/sha1.go:754
↓ 5 callersFunctionGrep
(c *Client, opts GrepOptions, pattern string, tree Treeish, pathspec []File)
git/grep.go:52
↓ 5 callersMethodIsBare
Returns true if the repo is a bare repo.
git/client.go:136
↓ 5 callersFunctionRevParse
(c *git.Client, args []string)
cmd/rev-parse.go:11
↓ 5 callersMethodSkipWorktree
()
git/index.go:49
↓ 5 callersMethodStat
Returns stat information for the given file.
git/file.go:56
↓ 5 callersFunctionexpandGitTreeIntoIndexes
Converts a git Tree-ish object to a slice of IndexEntrys. The most significant difference between trees and indexes are that indexes have fully expand
git/expandtree.go:20
↓ 5 callersFunctionlsTree
(c *Client, opts LsTreeOptions, tree Treeish, prefix string, paths []File)
git/lstree.go:162
↓ 5 callersFunctionparseRef
(c *Client, filename string)
git/showref.go:267
↓ 5 callersFunctionprogressF
Print progress information to stderr
git/progressf.go:15
↓ 5 callersMethodwhitespace
()
git/commit.go:216
↓ 4 callersMethodCapabilities
Returns the capabilities determined during the initial protocol connection. The first index is the capability, the second is the arguments defined fo
git/remote.go:144
↓ 4 callersFunctionCheckoutCommit
Implements the "git checkout" subcommand of git for variations: git checkout [-q] [-f] [-m] [<branch>] git checkout [-q] [-f] [-m] --detach [<branch>]
git/checkout.go:123
↓ 4 callersMethodExists
()
git/client.go:54
↓ 4 callersMethodFile
Returns the file that holds r.
git/refspec.go:66
↓ 4 callersMethodFlush
Send a flush packet to the connection
git/remote.go:169
↓ 4 callersFunctionGeneratePatch
(c *Client, options DiffCommonOptions, diffs []HashDiff, dst io.Writer)
git/hashdiff.go:108
↓ 4 callersMethodGet
()
cmd/flag.go:46
↓ 4 callersMethodGetAllObjectsExcept
GetAllObjectsExcept is like GetAllObjects, except that it excludes those objects in excludeList. It also populates excludeList with any objects encoun
git/sha1.go:680
↓ 4 callersMethodGetCommitter
Returns the committer of the commit.
git/sha1.go:346
↓ 4 callersMethodGetObjectsDir
Returns the .git/objects directory.
git/client.go:680
↓ 4 callersMethodGetRefs
Gets a list of references on the remote. If patterns is specified, restrict to refs which match the pattern. If not, return all refs
git/remote.go:122
↓ 4 callersMethodHasDir
(path IndexPath)
git/index.go:739
↓ 4 callersFunctionIndexAndCopyPack
Indexes the pack, and stores a copy in Client's .git/objects/pack directory as it's doing so. This is the equivalent of "git index-pack --stdin", but
git/indexpack.go:925
↓ 4 callersFunctionParseConfig
(configFile io.Reader)
git/config.go:230
↓ 4 callersFunctionPktLineEncodeNoNl
(line []byte)
git/retrieve.go:21
↓ 4 callersMethodRemoteURL
(c *Client)
git/remote.go:13
↓ 4 callersFunctionResetMode
ResetMode implements "git reset [--soft | --mixed | --hard | --merge | --keep]" <commit>
git/reset.go:97
↓ 4 callersFunctionRevList
(c *git.Client, args []string)
cmd/rev-list.go:11
↓ 4 callersFunctionRevParseCommit
RevParse will parse a single revision into a Commit object.
git/revparse.go:360
↓ 4 callersMethodSetReadMode
Determines how reading from the connection returns data to the caller.
git/remote.go:162
↓ 4 callersFunctionStatus
(c *Client, opts StatusOptions, files []File)
git/status.go:63
↓ 4 callersFunctionSymbolicRefUpdate
(c *Client, opts SymbolicRefOptions, symname SymbolicRef, refvalue RefSpec, reason string)
git/symbolicref.go:64
↓ 4 callersFunctionUpdateRefSpec
Safely updates ref to point to cmt under the client c, logging reason in the reflog. If opts.OldValue is set, it will return an error if the current v
git/updateref.go:68
↓ 4 callersFunctionbuildLsRefsCmdV2
Builds the ls-refs command to send over V2, for both stateless and stateful protocol variants
git/httpconn.go:462
↓ 4 callersFunctioncheckMergeAndUpdate
Check if the merge would overwrite any modified files and return an error if so (unless --reset), then update the file system.
git/readtree.go:655
↓ 4 callersMethodgetObjectAtOffsetForIndexing
(r io.ReaderAt, offset int64, metaOnly bool, cache map[ObjectOffset]*packObject, refcache map[Sha1]*packObject
git/indexpack.go:341
↓ 4 callersFunctiongetRefsV1
(refs []Ref, opts LsRemoteOptions, patterns []string)
git/httpconn.go:422
↓ 4 callersFunctionparseLsRef
parses a ref returned from the LsRefs command
git/httpconn.go:526
↓ 4 callersFunctionparseRemoteInitialConnection
(r io.Reader, stateless bool)
git/httpconn.go:163
↓ 4 callersFunctionreadtreeSaveIndex
Helper to ensure the DryRun option gets checked no matter what the code path for ReadTree.
git/readtree.go:541
↓ 4 callersFunctionsplitPatch
Split a patch into the hunks which make up the patch.
git/interactive.go:18
↓ 4 callersFunctionupdateReflog
(c *Client, create bool, file File, oldvalue, newvalue Commitish, reason string)
git/updateref.go:22
↓ 4 callersMethodwrite
Write the instruction to w
git/delta/calculator.go:20
↓ 3 callersFunctionCatFile
(c *Client, typ string, s Sha1, opts CatFileOptions)
git/catfile.go:32
↓ 3 callersFunctionCheckoutIndex
CheckoutIndex implements the "git checkout-index" subcommand of git.
git/checkoutindex.go:343
↓ 3 callersFunctionCommitTree
(c *Client, opts CommitTreeOptions, tree Treeish, parents []CommitID, message string)
git/committree.go:65
↓ 3 callersMethodCreate
Creates a file relative to GitDir. There should not be a leading slash.
git/client.go:263
↓ 3 callersFunctionDiffTree
(c *Client, opt *DiffTreeOptions, tree1, tree2 Treeish, paths []string)
git/difftree.go:71
↓ 3 callersMethodDst
Dst represents the local destination of a remote ref in a refspec. For instance, in the refspec "refs/heads/foo:refs/remotes/origin/foo", Dst refers t
git/refspec.go:47
↓ 3 callersMethodExists
Returns true if the branch exists under c's GitDir
git/refspec.go:154
↓ 3 callersFunctionFetchPack
FetchPack fetches a packfile from rmt. It uses wants to retrieve the refnames from the remote, and haves to negotiate the missing objects. FetchPack a
git/fetchpack.go:68
↓ 3 callersMethodGetAllObjects
Returns a map of all paths in the Tree. If recurse is true, it will recurse into subtrees. If excludeself is true, it will *not* include it's own Sha1
git/sha1.go:623
↓ 3 callersFunctionGetBranch
Returns a valid Branch object for an existing branch.
git/refspec.go:141
↓ 3 callersMethodGetCommitMessage
(c *Client)
git/sha1.go:304
↓ 3 callersMethodGetObject
(sha1 Sha1)
git/objects.go:257
↓ 3 callersFunctionIndexPack
(c *Client, opts IndexPackOptions, r io.Reader)
git/indexpack.go:645
↓ 3 callersMethodIsInsideGitDir
Returns true if the path is under the client's GitDir.
git/client.go:141
↓ 3 callersMethodIsSymlink
()
git/file.go:115
↓ 3 callersMethodLen
Implements the Sorter interface on PackfileIndexV2, in order to sort the Sha1, CRC32, and
git/indexpack.go:596
↓ 3 callersFunctionModeFromString
(s string)
git/entrymode.go:39
↓ 3 callersFunctionNewRemoteConn
(c *Client, r Remote)
git/remote.go:175
↓ 3 callersMethodOpen
Opens a file relative to GitDir. There should not be a leading slash.
git/client.go:257
↓ 3 callersMethodOpenConn
Opens a connection to the remote. This requires at least one round trip to the service and may mutate the state of this RemoteConn. After calling thi
git/remote.go:117
↓ 3 callersMethodPushURL
Returns the URL used to push to a remote.
git/remote.go:56
↓ 3 callersMethodRead
(buf []byte)
git/packiterator.go:22
↓ 3 callersMethodRead
Reads a line from the underlying connection into buf in a decoded format.
git/fetchpack.go:377
↓ 3 callersMethodReadHeaderSize
Readers a packfile entry header from r, and returns the type of packfile, the size from the header, optionally a reference or file offset (for deltas
git/packfile.go:56
↓ 3 callersFunctionRevList
(c *Client, opt RevListOptions, w io.Writer, includes, excludes []Commitish)
git/revlist.go:19
↓ 3 callersFunctionRevert
Reverts the given commits from the HEAD. Revert doesn't actually create the new commit, it returns the new tree and leaves it up to the caller (who h
git/revert.go:25
↓ 3 callersMethodSetService
Sets the name of git-upload-pack to use for this remote, where applicable. This must be called before OpenConn. When called on a transport type that d
git/remote.go:133
↓ 3 callersMethodSha1
(c *Client)
git/refspec.go:78
↓ 3 callersMethodSrc
Src represents the ref name of the ref at the remote location for a refspec. for instance, in the refspec "refs/heads/foo:refs/remotes/origin/foo", sr
git/refspec.go:27
↓ 3 callersFunctionStatusLong
Return a string of the status
git/status.go:142
↓ 3 callersFunctioncheckReadtreePrereqs
Check if the read-tree can be performed. Returns a list of files that need to be removed if --reset is specified.
git/readtree.go:558
↓ 3 callersFunctioncheckSparseMatches
(c *Client, opt ReadTreeOptions, path IndexPath, patterns []IgnorePattern)
git/readtree.go:80
↓ 3 callersMethoddataStream
(r flate.Reader)
git/packfile.go:125
↓ 3 callersMethodgetObjectAtOffset
Using the index, retrieve an object from the packfile represented by r at offset. The index must be valid for this function to work, it can not retrie
git/indexpack.go:163
↓ 3 callersFunctiongetObjectHeader
get a header for either a commit or tag type object.
git/objects.go:125
↓ 3 callersFunctionparseCommonDiffFlags
Sets up common options for git diff-files, diff-index and diff-tree and parses them. Any unique parameters must already be set up in flags before cal
cmd/commondiff.go:16
↓ 3 callersFunctionparseDate
(str string)
git/committree.go:20
↓ 3 callersFunctionprintDiffHeader
(w io.Writer, name IndexPath, full bool)
git/hashdiff.go:101
↓ 3 callersFunctionprintDiffs
Print the diffs that come back from either diff-files, diff-index, or diff-tree in the appropriate format according to options.
cmd/commondiff.go:58
↓ 3 callersMethodreadCached
(buf []byte)
git/delta/reader.go:151
↓ 3 callersFunctionremoveFileClean
(f File)
git/readtree.go:916
↓ 3 callersMethodsendRequest
(expectedmime string)
git/httpconn.go:373
↓ 3 callersMethodstrip
()
git/commit.go:225
↓ 3 callersFunctionvalidatePerson
(obj GitObject, typ string)
git/fsck.go:230
↓ 3 callersMethodwriteHeader
writeHeader writes the ZLIB header.
zlib/writer.go:90
↓ 2 callersMethodAppend
Appends the value val to the end of the file f. Not that f must already exist.
git/file.go:29
← previousnext →101–200 of 646, ranked by callers