project

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrProjectNotFound = errors.New("project not found")
View Source
var ManifestFilename = "dev.yml"

Functions

This section is empty.

Types

type Project

type Project struct {
	HostingPlatform  string
	OrganisationName string
	RepositoryName   string
	Path             string
	Manifest         *manifest.Manifest
}

func FindBestMatch

func FindBestMatch(id string, conf *config.Config) (proj *Project, err error)

func FindCurrent

func FindCurrent() (*Project, error)

func GetAllProjects

func GetAllProjects(sourceDir string) ([]*Project, error)

func NewFromID

func NewFromID(id string, conf *config.Config) (p *Project, err error)

func (*Project) Clone

func (p *Project) Clone() (err error)

func (*Project) Exists

func (p *Project) Exists() bool

func (*Project) FullName

func (p *Project) FullName() string

func (*Project) GetRemoteURL

func (p *Project) GetRemoteURL() (url string, err error)

func (*Project) Slug added in v0.0.4

func (p *Project) Slug() string

Jump to

Keyboard shortcuts

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