Skip to main content

substitute

Function substitute 

Source
pub fn substitute(value: &mut Value, chunk: &PartitionChunk) -> CliResult<()>
Expand description

Substitute ${partition.*} tokens in every string leaf of value.

An unrecognized token is a typo, not a passthrough: it errors, naming the tokens this chunk actually defines. Silently leaving ${partition.strat} in a URL would send the literal text to the source.