dotfiles

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultURL    = "https://github.com/sugarraysam/archsugar"
	DefaultDest   = helpers.BaseDir
	DefaultBranch = "master"
)

Functions

This section is empty.

Types

type Repo

type Repo struct {
	Dest   string
	URL    string
	Branch string
}

func NewDefaultRepo added in v0.2.0

func NewDefaultRepo() *Repo

func NewRepo

func NewRepo(dest, rawURL, branch string) (*Repo, error)

func (*Repo) Clone

func (r *Repo) Clone() error

func (*Repo) Exists

func (r *Repo) Exists() bool

func (*Repo) Rm

func (r *Repo) Rm() error

Jump to

Keyboard shortcuts

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