gogit

package module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Bitbucket string = "https://bitbucket.org/"
View Source
const Github string = "https://github.com/"
View Source
const Gitlab string = "https://gitlab.com/"

Variables

This section is empty.

Functions

func Untar

func Untar(r io.Reader) error

Types

type Git

type Git struct {
	Host string
	User string
	Repo string
	Type string
	File string
}

func New

func New() *Git

func (*Git) Download

func (git *Git) Download(path string) error

func (*Git) Extract

func (git *Git) Extract(dir string) error

func (*Git) GetURL

func (git *Git) GetURL() (string, error)

func (*Git) Parser

func (git *Git) Parser(url string) error

func (*Git) Run

func (git *Git) Run(prefix string, dir string)

Directories

Path Synopsis
cmd
gogit command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL