plan_into
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | Rust |
|---|---|
plan_into | earthsci_integrator_planner::plan_into |
Julia
plan_into(config_path::AbstractString, dir::AbstractString; tspan, validate, bandvalues, cache)
plan_into(config_path, dir; tspan=nothing, validate=nothing, bandvalues=false, cache=plan_cache_dir()) -> Symbol
Plan the run config at config_path and write its plan directory dir, as
plan
then write_plan
do, through the plan cache in the
directory cache (spec/plan.md §11, D195; nothing for none): when the
cache holds an entry for these inputs, its files are written instead of
planning; otherwise the plan is planned, written and stored. The files
written are the same either way. Returns :off (no cache), :hit, :miss
or :uncacheable (the inputs cannot be keyed; planned, not stored).
Rust
pub fn plan_into(path: &Path, out: &Path, options: &Options, cache_dir: Option<&Path>) -> Result<CacheUse>
Plans the run config at path and writes its plan directory out, as
plan with astdiff::AstDiffBands then Planned::write do.
Uses the cache in cache_dir, or ESI_PLAN_CACHE when none is given.
An empty path disables the cache (spec/plan.md §11, D195).