Documentation ¶
Index ¶
- Variables
- func Check(ctx *cmd.AppContext, globalContext *walkers.GlobalContext) (status int, err error)
- func DefaultCacheDir() string
- func HandleFunctions(ctx *cmd.AppContext, funcs *symbols.Functions, palette *palette.Palette) []*pipes.ColorReport
- func HandleShowColorReports(ctx *cmd.AppContext, reports []*pipes.ColorReport)
- func HandleShowLinterReports(ctx *cmd.AppContext, reports []*linter.Report)
- func Main()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuildTime string BuildOSUname string BuildCommit string )
Build* are initialized during the build via -ldflags
View Source
var LinterReports []*linter.Report
LinterReports is a global map that stores all custom reports generated by NoVerify inside walkers.
Functions ¶
func Check ¶
func Check(ctx *cmd.AppContext, globalContext *walkers.GlobalContext) (status int, err error)
Check is the function that starts the analysis of the project.
func DefaultCacheDir ¶
func DefaultCacheDir() string
DefaultCacheDir function returns the default, depending on the system, directory for storing the cache.
func HandleFunctions ¶
func HandleFunctions(ctx *cmd.AppContext, funcs *symbols.Functions, palette *palette.Palette) []*pipes.ColorReport
HandleFunctions is a function that starts checking colors.
func HandleShowColorReports ¶
func HandleShowColorReports(ctx *cmd.AppContext, reports []*pipes.ColorReport)
func HandleShowLinterReports ¶
func HandleShowLinterReports(ctx *cmd.AppContext, reports []*linter.Report)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.