Documentation
¶
Overview ¶
Package emit serializes a fingerprint as canonical JSON, a human "pretty" report, or a one-line summary. Human output sanitizes control characters in attacker-controlled strings (filenames) to prevent terminal injection (security-audit finding #2).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONIndent ¶
JSONIndent writes v as indented JSON (for humans reading files / --pretty-json).
func Pretty ¶
Pretty writes a human-readable report. useColor enables ANSI styling; dur is the wall-clock scan time (human output only — never in the JSON).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.