MCPcopy Create free account

hub / github.com/driusan/dgit / functions

Functions646 in github.com/driusan/dgit

↓ 2 callersFunctionArchiveFormatList
Return the list of supported archive file format
git/archive.go:151
↓ 2 callersFunctionBranchList
(c *Client, stdout io.Writer, opts BranchOptions, patterns []string)
git/branch.go:16
↓ 2 callersMethodCTime
()
git/file_ctime_unix.go:10
↓ 2 callersFunctionCalculate
Calculate how to generate dst using src as the base of the deltas and write the result to w.
git/delta/calculator.go:199
↓ 2 callersFunctionCalculateWithIndex
(index *suffixarray.Index, w io.Writer, src, dst []byte, maxsz int)
git/delta/calculator.go:174
↓ 2 callersFunctionCheckoutIndexFromReaderUncommited
Performs CheckoutIndex on the Stdin io.Reader from opts, with the git index passed as a parameter.
git/checkoutindex.go:40
↓ 2 callersMethodCommitID
(c *Client)
git/revparse.go:19
↓ 2 callersMethodDeleteBranch
Delete a branch
git/refspec.go:187
↓ 2 callersMethodExecEditor
Will invoke the Client's editor to edit the file f.
git/editor.go:13
↓ 2 callersFunctionFetch
Fetch implements the "git fetch" command, fetching refs from rmt. If refs is nil, all remote refs will be fetched from the remote.
git/fetch.go:15
↓ 2 callersMethodFetchURL
Returns the URL used to fetch from remote.
git/remote.go:50
↓ 2 callersMethodGetConfigList
()
git/config.go:138
↓ 2 callersMethodGetConfigSections
Gets all config sections that match name and subsection. The empty string matches all names/subsections.
git/config.go:156
↓ 2 callersMethodGetObject
(r io.ReaderAt, s Sha1)
git/indexpack.go:441
↓ 2 callersMethodGetObjectMetadata
(sha1 Sha1)
git/objects.go:249
↓ 2 callersFunctionHashReaderWithSize
(t string, sz int64, r io.Reader)
git/hashobject.go:13
↓ 2 callersMethodINode
()
git/file_inode_unix.go:10
↓ 2 callersMethodIsInSubmodule
Returns true if the file is inside a submodule and the submodule file. FIXME: invert this when submodules are implemented
git/file.go:77
↓ 2 callersMethodIsInsideSymlink
()
git/file.go:99
↓ 2 callersMethodLineString
()
git/ignore.go:34
↓ 2 callersFunctionLoadGlobalConfig
()
git/config.go:303
↓ 2 callersFunctionLog
(c *git.Client, args []string)
cmd/log.go:13
↓ 2 callersFunctionMatchIgnores
(c *Client, patterns []IgnorePattern, paths []File)
git/ignore.go:223
↓ 2 callersFunctionMerge
Implements the "git merge" porcelain command to merge other commits into HEAD and create a new commit.
git/merge.go:71
↓ 2 callersFunctionMergeFile
MergeFile merges changes that lead from opt.Base to opt.Other into opt.Current, flagging conflictsas appropriate. This will return an io.Reader of th
git/mergefile.go:30
↓ 2 callersFunctionMktag
Implements mktag by reading the input from r in the format described in git-mktag(1).
git/mktag.go:15
↓ 2 callersFunctionNewWriter
NewWriter creates a new Writer. Writes to the returned Writer are compressed and written to w. It is the caller's responsibility to call Close on the
zlib/writer.go:41
↓ 2 callersFunctionNewWriterLevelDict
NewWriterLevelDict is like NewWriterLevel but specifies a dictionary to compress with. The dictionary may be nil. If not, its contents should not be
zlib/writer.go:61
↓ 2 callersMethodPackEntryType
(c *Client)
git/sha1.go:91
↓ 2 callersFunctionPackObjects
Writes a packfile to w of the objects objects from the client's GitDir.
git/packobjects.go:39
↓ 2 callersMethodParseValues
(valueslines string)
git/config.go:184
↓ 2 callersMethodProtocolVersion
Gets the protocol version that was negotiated during connection opening. Only valid after calling OpenConn.
git/remote.go:137
↓ 2 callersMethodReadFirstLine
Reads the first line of File. (This is primarily to extract commit message lines for reflogs)
git/file.go:150
↓ 2 callersFunctionReadTreeFastForward
ReadTreeFastForward will return a new Index with parent fast-forwarded to from parent to dst. Local modifications to the work tree will be preserved.
git/readtree.go:372
↓ 2 callersFunctionResetUnstage
ResetUnstage implements "git reset [<treeish>] -- paths
git/reset.go:138
↓ 2 callersFunctionRevListCallback
(c *Client, opt RevListOptions, includes, excludes []Commitish, callback func(Sha1) error)
git/revlist.go:59
↓ 2 callersFunctionSendPack
(c *Client, opts SendPackOptions, r Remote, refs []Refname)
git/sendpack.go:24
↓ 2 callersMethodSetSkipWorktree
(c *Client, path IndexPath, value bool)
git/index.go:337
↓ 2 callersFunctionStandardIgnorePatterns
Returns the standard ignores (.gitignore files and various global sources) that should be used to determine whether the provided files are ignored. Th
git/ignore.go:69
↓ 2 callersMethodString
Returns the standard representation of an ignore match (or non-match)
git/ignore.go:30
↓ 2 callersMethodString
()
git/refspec.go:12
↓ 2 callersMethodString
()
git/fetchpack.go:20
↓ 2 callersMethodString
()
git/client.go:25
↓ 2 callersMethodString
()
git/client.go:50
↓ 2 callersFunctionTagCommit
(c *Client, opts TagOptions, tagname string, cmt Commitish, msg string)
git/tag.go:63
↓ 2 callersFunctionTagList
List tags, if tagnames is specified only list tags which match one of the patterns provided.
git/tag.go:29
↓ 2 callersFunctionUnpackObjects
Unpack the objects from r's input stream into the client GitDir's objects directory and returns the list of objects that were unpacked.
git/unpackobjects.go:35
↓ 2 callersMethodUnset
(name string)
git/config.go:70
↓ 2 callersMethodValue
Returns the value of RefSpec in Client's GitDir, or the empty string if it doesn't exist.
git/refspec.go:72
↓ 2 callersFunctionWriteTreeFromIndex
(c *Client, idx *Index, opts WriteTreeOptions)
git/writetree.go:23
↓ 2 callersFunctionaddSharedFetchFlags
These options can be shared with other subcommands that fetch, such as pull
cmd/fetch.go:11
↓ 2 callersFunctionaddSharedMergeFlags
These are merge flags that can be shared with other subcommands, such as pull
cmd/merge.go:12
↓ 2 callersFunctioncalculate
The meat of our algorithm. Calculate a list of instructions to insert into the stream.
git/delta/calculator.go:80
↓ 2 callersFunctioncheckoutFile
Checks out a given index entry.
git/checkoutindex.go:97
↓ 2 callersFunctioncopyFile
(src, dst string)
git/apply.go:192
↓ 2 callersFunctioncreateTarArchive
(c *Client, opts ArchiveOptions, tgz bool, sha Sha1, mtime time.Time, entries []*IndexEntry)
git/archive.go:40
↓ 2 callersFunctionfilterHunks
(prompt string, patch []patchHunk)
git/interactive.go:78
↓ 2 callersFunctionformatBytes
(n int64)
git/indexpack.go:929
↓ 2 callersFunctiongetLogVar
(c *git.Client, key string, envVar string)
cmd/var.go:13
↓ 2 callersMethodgetObject
(sha1 Sha1, metaOnly bool)
git/objects.go:261
↓ 2 callersMethodgetRefNamesList
(cl *Client)
git/sha1.go:501
↓ 2 callersFunctioniteratePack
(c *Client, r io.Reader, initcallback func(int), callback packIterator, trailerCB func(r io.ReaderAt, packn in
git/packiterator.go:46
↓ 2 callersFunctionparseCacheInfo
(input string)
cmd/updateindex.go:12
↓ 2 callersFunctionparseRawTreeLine
parseRawtreeLine parses a single line from a raw tree object starting at entryStart. It returns the TreeEntry and the number of bytes in treecontent t
git/sha1.go:630
↓ 2 callersFunctionprintRemotes
(c *git.Client, opts git.RemoteOptions)
cmd/remote.go:10
↓ 2 callersFunctionprintTags
(tags []string)
cmd/tag.go:12
↓ 2 callersMethodreadVariable
Reads a variable length integer from the underlying stream and returns it as a uint64
git/delta/reader.go:163
↓ 2 callersFunctionrecombinePatch
(w io.Writer, hunks []patchHunk)
git/interactive.go:66
↓ 2 callersFunctionrefreshIndex
Helper to run update-index --refresh
git/status.go:45
↓ 2 callersFunctionrequiresGitDir
(cmd string)
main.go:18
↓ 2 callersMethodresolveDeltaForIndexing
(pack io.ReaderAt, deltat PackEntryType, rawdata []byte, location ObjectOffset, ref Sha1, refoffset int64, cac
git/indexpack.go:300
↓ 2 callersFunctionrevListCallback
(c *Client, opt RevListOptions, commits []CommitID, excludeList map[Sha1]struct{}, callback func(Sha1) error)
git/revlist.go:116
↓ 2 callersFunctionsortPatterns
Patterns are sorted by their scope so that the most specific scopes are first and the more broad scopes are later on. This is to allow broader scopes
git/ignore.go:217
↓ 2 callersFunctiontimeToGitTime
(t time.Time)
git/client.go:381
↓ 2 callersMethodupdateFanout
Update both the fanout table and Sha1Table for this index.
git/indexpack.go:632
↓ 2 callersFunctionverifyBlob
(c *Client, opts FsckOptions, stderr io.Writer, s Sha1)
git/fsck.go:416
↓ 2 callersFunctionverifyCommit
Verifies a commit for fsck or rev-parse --verify-objects
git/fsck.go:281
↓ 2 callersFunctionverifyTag
(c *Client, opts FsckOptions, tid Sha1)
git/fsck.go:362
↓ 2 callersFunctionverifyTree
Verifies a tree for fsck or rev-parse --verify-objects
git/fsck.go:314
↓ 2 callersMethodwriteIndex
(w io.Writer, withTrailer bool)
git/indexpack.go:532
↓ 2 callersFunctionwriteVarInt
(w io.Writer, val int)
git/delta/calculator.go:300
↓ 1 callersFunctionAdd
(c *git.Client, args []string)
cmd/add.go:11
↓ 1 callersMethodAddFile
Adds a file to the index, without writing it to disk. To write it to disk after calling this, use GitIndex.WriteIndex This will do the following: 1.
git/index.go:504
↓ 1 callersMethodAncestorMap
AncestorMap returns a map of empty structs (which can be interpreted as a set) of ancestors of a CommitID. It's useful if you want to know all the an
git/sha1.go:166
↓ 1 callersMethodAncestors
(c *Client)
git/sha1.go:372
↓ 1 callersFunctionApply
(c *git.Client, args []string)
cmd/apply.go:11
↓ 1 callersFunctionArchive
(c *Client, opts ArchiveOptions, tree Treeish, paths []File)
git/archive.go:155
↓ 1 callersFunctionArchive
(c *git.Client, args []string)
cmd/archive.go:29
↓ 1 callersFunctionBranch
(c *git.Client, args []string)
cmd/branch.go:10
↓ 1 callersFunctionCatFile
Parses the arguments from git-cat-file as they were passed on the commandline and calls git.CatFiles
cmd/catfile.go:14
↓ 1 callersFunctionCatFileBatch
(c *Client, opts CatFileOptions, r io.Reader, w io.Writer)
git/catfile.go:81
↓ 1 callersFunctionCheckIgnore
(c *git.Client, args []string)
cmd/checkignore.go:14
↓ 1 callersFunctionCheckout
Implements the git checkout command line parsing.
cmd/checkout.go:12
↓ 1 callersFunctionCheckoutFiles
Implements "git checkout" subcommand of git for variations: git checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>... git c
git/checkout.go:272
↓ 1 callersFunctionCheckoutIndexCmd
Parses the command arguments from args (usually from os.Args) into a CheckoutIndexOptions and calls CheckoutIndex.
cmd/checkoutindex.go:13
↓ 1 callersFunctionClean
(c *Client, opts CleanOptions, files []File)
git/clean.go:24
↓ 1 callersFunctionClean
(c *git.Client, args []string)
cmd/clean.go:20
↓ 1 callersMethodCleanup
(mode string, edit bool)
git/commit.go:198
↓ 1 callersFunctionClone
Clones a new repository from rmt into the directory dst, which must not already exist.
git/clone.go:38
↓ 1 callersFunctionClone
(c *git.Client, args []string)
cmd/clone.go:11
← previousnext →201–300 of 646, ranked by callers