Documentation ¶
Index ¶
- func CompileTargetExps(strs []string) (exps []*regexp.Regexp, err error)
- func DiffName(m manifest.Manifest) string
- func DiffStr(name, is, should string) (string, error)
- func Diffstat(d string) (*string, error)
- func MustCompileTargetExps(strs ...string) (exps []*regexp.Regexp)
- type ErrBadTargetExp
- type FilteredErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileTargetExps ¶ added in v0.7.0
CompileTargetExps compiles the regular expression for each target
func DiffStr ¶
Diff computes the differences between the strings `is` and `should` using the UNIX `diff(1)` utility.
func MustCompileTargetExps ¶ added in v0.7.0
MustCompileTargetExps is like CompileTargetExps but panics on error Meant for static code
Types ¶
type ErrBadTargetExp ¶ added in v0.7.0
type ErrBadTargetExp struct {
// contains filtered or unexported fields
}
func (ErrBadTargetExp) Error ¶ added in v0.7.0
func (e ErrBadTargetExp) Error() string
type FilteredErr ¶
FilteredErr is a filtered Stderr. If one of the regular expressions match, the current input is discarded.
Click to show internal directories.
Click to hide internal directories.