Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureIndexSync ¶ added in v0.7.3
EnsureIndexSync checks if the given index is synced, and if not, prompts the user to sync it. It returns true if the index is available (either already synced or newly synced), and false otherwise.
In non-interactive contexts (CI, --no-interactive, --json) it refuses to download silently — the caller must have synced the index ahead of time via `vulncheck offline sync --add <name>`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.