Documentation
¶
Index ¶
- Variables
- func Add(c *git.Client, args []string) error
- func Apply(c *git.Client, args []string) error
- func Archive(c *git.Client, args []string) error
- func Branch(c *git.Client, args []string) error
- func CatFile(c *git.Client, args []string) error
- func CheckIgnore(c *git.Client, args []string) error
- func Checkout(c *git.Client, args []string) error
- func CheckoutIndexCmd(c *git.Client, args []string) error
- func Clean(c *git.Client, args []string) error
- func Clone(c *git.Client, args []string) error
- func Commit(c *git.Client, args []string) (string, error)
- func CommitTree(c *git.Client, args []string) (git.CommitID, error)
- func Config(c *git.Client, args []string) error
- func Diff(c *git.Client, args []string) error
- func DiffFiles(c *git.Client, args []string) error
- func DiffIndex(c *git.Client, args []string) error
- func DiffTree(c *git.Client, args []string) error
- func Fetch(c *git.Client, args []string) error
- func FetchPack(c *git.Client, args []string) error
- func Fsck(c *git.Client, args []string) error
- func Grep(c *git.Client, args []string) error
- func HashObject(c *git.Client, args []string)
- func IndexPack(c *git.Client, args []string) (err error)
- func Init(c *git.Client, args []string) error
- func Log(c *git.Client, args []string) error
- func LsFiles(c *git.Client, args []string) error
- func LsRemote(c *git.Client, args []string) error
- func LsTree(c *git.Client, args []string) error
- func Merge(c *git.Client, args []string) error
- func MergeBase(c *git.Client, args []string) (git.CommitID, error)
- func MergeFile(c *git.Client, args []string) error
- func MkTree(c *git.Client, args []string) error
- func Mktag(c *git.Client, args []string) (git.Sha1, error)
- func NewMultiStringValue(p *[]string) *multiStringValue
- func PackObjects(c *git.Client, input io.Reader, args []string) (rv error)
- func Pull(c *git.Client, args []string) error
- func Push(c *git.Client, args []string) error
- func ReadTree(c *git.Client, args []string) error
- func Reflog(c *git.Client, args []string) error
- func Remote(c *git.Client, args []string) error
- func Reset(c *git.Client, args []string) error
- func RevList(c *git.Client, args []string) error
- func RevParse(c *git.Client, args []string) ([]git.ParsedRevision, git.RevParseOptions, error)
- func Revert(c *git.Client, args []string) error
- func Rm(c *git.Client, args []string) error
- func SendPack(c *git.Client, args []string) error
- func Show(c *git.Client, args []string) error
- func ShowRef(c *git.Client, args []string) error
- func Status(c *git.Client, args []string) error
- func Submodule(c *git.Client, args []string) error
- func SymbolicRef(c *git.Client, args []string) (git.RefSpec, error)
- func Tag(c *git.Client, args []string) error
- func UnpackObjects(c *git.Client, args []string) error
- func UpdateIndex(c *git.Client, args []string) error
- func UpdateRef(c *git.Client, args []string) error
- func Var(c *git.Client, args []string) error
- func WriteTree(c *git.Client, args []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Ancestor error = errors.New("Commit is an ancestor")
View Source
var NonAncestor error = errors.New("Commit not an ancestor")
Functions ¶
func CatFile ¶
Parses the arguments from git-cat-file as they were passed on the commandline and calls git.CatFiles
func CheckoutIndexCmd ¶
Parses the command arguments from args (usually from os.Args) into a CheckoutIndexOptions and calls CheckoutIndex.
func HashObject ¶
func IndexPack ¶
Parses the arguments from git-unpack-objects as they were passed on the commandline and calls git.CatFiles
func LsFiles ¶
Parses the arguments from git-ls-files as if they were passed on the commandline and calls git.LsFiles
func NewMultiStringValue ¶
func NewMultiStringValue(p *[]string) *multiStringValue
func RevParse ¶
func RevParse(c *git.Client, args []string) ([]git.ParsedRevision, git.RevParseOptions, error)
func UnpackObjects ¶
Parses the arguments from git-unpack-objects as they were passed on the commandline and calls git.CatFiles
Types ¶
This section is empty.
Source Files
¶
- add.go
- apply.go
- archive.go
- branch.go
- catfile.go
- checkignore.go
- checkout.go
- checkoutindex.go
- clean.go
- clone.go
- commit.go
- committree.go
- commondiff.go
- config.go
- diff.go
- difffiles.go
- diffindex.go
- difftree.go
- fetch.go
- fetchpack.go
- flag.go
- fsck.go
- grep.go
- hashobject.go
- indexpack.go
- init.go
- log.go
- lsfiles.go
- lsremote.go
- lstree.go
- merge.go
- mergebase.go
- mergefile.go
- mktag.go
- mktree.go
- packobjects.go
- pull.go
- push.go
- readtree.go
- reflog.go
- remote.go
- reset.go
- rev-list.go
- rev-parse.go
- revert.go
- rm.go
- send-pack.go
- show.go
- showref.go
- status.go
- submodule.go
- symbolicref.go
- tag.go
- unpackobjects.go
- updateindex.go
- updateref.go
- var.go
- writetree.go
Click to show internal directories.
Click to hide internal directories.