Documentation ¶
Overview ¶
Package utils contains various utility functions and whatnot.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAllSubpackages ¶
func FindAllSubpackages(config *core.Configuration, rootPath string, prefix string) <-chan string
Finds all packages under a particular path. Used to implement rules with ... where we need to know all possible packages under that location.
func InitConfig ¶
InitConfig initialises a .plzconfig template in the given directory.
func ReadAllStdin ¶
func ReadAllStdin() []string
ReadAllStdin reads standard input in its entirety to a slice. Since this reads it completely before returning it won't handle a slow input very nicely. ReadStdin is therefore preferable when possible.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.