check

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllFilesMatch

func AllFilesMatch(files []string, glob string) (bool, error)

AllFilesMatch returns true if all files match the glob.

func AnyFilesMatch

func AnyFilesMatch(files []string, glob string) (bool, error)

AnyFilesMatch returns true if ANY files match the glob.

func ContainsSkipCI

func ContainsSkipCI(s string) bool

ContainsSkipCI returns true if a string contains [ci skip] or [skip ci].

Types

type Request added in v0.2.1

type Request struct {
	Source  models.Source  `json:"source"`
	Version models.Version `json:"version"`
}

Request ...

type Response added in v0.2.1

type Response []models.Version

Response ...

func Run

func Run(request Request) (Response, error)

Run (business logic)

func (Response) Len added in v0.2.1

func (r Response) Len() int

func (Response) Less added in v0.2.1

func (r Response) Less(i, j int) bool

func (Response) Swap added in v0.2.1

func (r Response) Swap(i, j int)

Jump to

Keyboard shortcuts

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