Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + var Version = "dev" + func CloseOutput(f *os.File, path string) + func EmbeddedPalette() (*pal.Palette, error) + func HPIInputPath(args []string, stream bool) (path string, cleanup func(), err error) + func MD5Hex(data []byte) string + func OpenContextVFS(explicit string) (*filesystem.VirtualFileSystem, string, error) + func OpenOutput(path string) (*os.File, error) + func ParseColor(s string, dflt color.RGBA) (color.RGBA, error) + func PassFail(ok bool) string + func ReadInput(args []string, stream bool) ([]byte, error) + func ReportContextSource(source string) + func ResolveVFSPath(explicit string) (path, source string, err error) + func TAKFeaturePalette(kingdom string, vfs *filesystem.VirtualFileSystem) (*gaf.Palette, error) + func TAKKingdomForTNT(tntPath string) string + func TAKKingdomPalette(kingdom string) (color.Palette, error) + func TAKPaletteForTNT(tntPath, kingdomOverride string) (color.Palette, error) + func TNTPalette() (color.Palette, error) + func WriteSARIF(w io.Writer, driverName string, rules []SARIFRule, results []SARIFResult) error + func WriteTarget(data []byte, target string) error + type SARIFArtifactLocation struct + URI string + type SARIFDriver struct + InformationURI string + Name string + Rules []SARIFRule + type SARIFLocation struct + PhysicalLocation SARIFPhysicalLocation + type SARIFLog struct + Runs []SARIFRun + Schema string + Version string + type SARIFMessage struct + Text string + type SARIFPhysicalLocation struct + ArtifactLocation SARIFArtifactLocation + Region *SARIFRegion + type SARIFRegion struct + EndColumn int + EndLine int + StartColumn int + StartLine int + type SARIFResult struct + Level string + Locations []SARIFLocation + Message SARIFMessage + RuleID string + type SARIFRule struct + FullDescription *SARIFMessage + ID string + ShortDescription *SARIFMessage + func SARIFShortRule(id, short string) SARIFRule + type SARIFRun struct + Results []SARIFResult + Tool SARIFTool + type SARIFTool struct + Driver SARIFDriver + type VFSInputHit struct + Data []byte + Source string + VirtualPath string + func ResolveTSFInput(arg, vfsRoot string, quiet bool) (*VFSInputHit, *filesystem.VirtualFileSystem, func(), error) + func ResolveVFSInput(arg string, vfs *filesystem.VirtualFileSystem, wantExt string, ...) (*VFSInputHit, error)