project

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 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")

Functions

This section is empty.

Types

type Project

type Project struct {
	HostingPlatform  string
	OrganisationName string
	RepositoryName   string

	Path     string
	Manifest *manifest.Manifest
	// contains filtered or unexported fields
}

func FindBestMatch

func FindBestMatch(expr string, conf *config.Config) (found *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) Create added in v0.0.9

func (p *Project) Create() (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