Skip to main content

Module scope

Module scope 

Source
Expand description

Artifact references and canonical scoped paths.

Structs§

ArtifactId
An Artifact’s ID: [A-Za-z0-9][A-Za-z0-9_-]{0,63}, so it can never smuggle a path separator, a dot component, or control text into a scope key or a tool result.
LogicalSuffix
A nonempty relative logical path. Its private storage cannot bypass validation.
Relation
Scope
ScopeError
ScopedPath

Enums§

Argument
A declared argument, parsed once when its declaration loads: either a plain literal, or an @{path name[/sub]} / --flag=@{path name[/sub]} Artifact path. Parsing here only checks shape (one slot at the end, a valid path suffix); whether name names a real Artifact is a separate, config-wide check ([reference_target]) run once every declaration is loaded. std::fmt::Display writes the declared spelling, where a literal @{ is @@{, so saved Vec<String> forms (StoredProfile, Views) read back unchanged; Argument::literal is the text a literal passes to a program.
InstructionPart
LogicalTarget
An Artifact root has no suffix; non-root suffixes are validated logical paths.
RelationKind

Functions§

argv_scope
Admit an owner plus the explicit references in its argv, as an Eval’s scope admits its deps.
artifact_scope
Exactly the given Artifacts. Neither composition nor a referenced Artifact’s Eval instructions grant access: a path into a part or a nested folder Artifact needs a reference of its own, so that what a review reads is what its reuse key covers.
eval_scope
resolve_argv
Resolve {name}[/path] and --flag={name}[/path] operands to existing scoped inputs. Other arguments, including escaped braces, stay literal. Never interpolate the command.
scoped_path
Resolve a physical input below a canonical root. No component may be a symlink.