Skip to main content

Crate sva_cli

Crate sva_cli 

Source

Structs§

Analysis
One reading sva-analysis answers, which no Representation names.
AnalyzeArgs
Builtins
Callable
Finding
These ride a success envelope; a refusal raises sva_core::CliError::LintRefused.
Framing
LintReport
RenderArgs
Scaffolded
Traceable

Enums§

CacheAt
Where a render’s persistent store lives.
CliError
Every expected failure mode this crate can hit; none of them a panic.
Command
Format
How the diagnostics an evaluator answers are rendered. One set of objects, two renderings.
SampleEncoding
Integer PCM at up to 16 bits is the format tag Python’s stdlib wave module can open; hound marks any bits_per_sample > 16 format WAVE_FORMAT_EXTENSIBLE, which it refuses.
Stopped

Constants§

ANALYZE_REPRESENTATIONS
Only the readings that are a pure function of a buffer; the rest need the graph behind it.
FILES
(path under the new directory, contents), written in this order so a directory always exists before a file lands in it. Every body stays a closed form until its own layer’s written sample(), and each node’s comment says why it is written that way rather than the way that costs orders of magnitude more.
NAME
NEXT
(command, why), in the order a stranger should run them: what the composition IS before what it sounds like, and what a render costs before paying for it. Answered beside the tree new wrote, so the first thing an agent reads is the next thing it should do.
USAGE
VERSION

Functions§

analyze
The same routing over a decoded external WAV instead of a rendered graph: the file’s own rate stands, and it is read whole.
builtins
builtins_data
caught
The default hook leaves a stack trace on stderr and 101, not a JSON response.
colored
composition
cwd
diagnostics_text
The objects the envelope carries, one line each.
error_envelope
data.diagnostics is always present, empty where the failure has no subject to locate.
help_data
help_text
Read off the constants the parser itself defaults to, so a printed default cannot drift from the one a render actually uses.
lint
With no target, every file’s own rules and every entry point’s types; with one, those of each file it reaches and the interval a render of it reads.
lint_data
target: null is a lint of every file under its own rules, which decides no render: its interval is null.
located
here while every ref sits under it; else the nearest directory above the first ref outside it that holds variables/, else that ref’s own. Each ref is rewritten under it.
new_data
parse_args
--version/-V and --help are global flags, recognized anywhere in argv (cli standard).
read_channels
De-interleaves every channel into its own plane at the file’s own native rate — no resampling, ever, so a reference recording’s own clock is what every reading is against.
read_wav
refuse_inside
render
Only the nodes the target reaches are read; its interval and --until decide its range.
scaffold
Refuses if <dir>/<name> already exists, so new never overwrites a caller’s own work. An idempotency_key is recorded beside the composition and answers the same Scaffolded again when the same key is retried over a tree still holding exactly this scaffold, so a network retry or an agent restart converges rather than erroring.
stopped
One internal_error either way, under the code and the advice that fit what stopped it.
success_envelope
trace
Every entry point is a root, and an uninstantiated bench refuses. A structure has no time, so an interval the target reads is dropped.
trace_data
Every key a trace declares is written, sva_core::NONE where the node has none.
version_data
write_analysis
A reading no Representation names: its value is already JSON, so only the envelope.
write_channels
write_destination
A .wav path takes the samples; any other takes the JSON stdout caps.
write_wav