Skip to navigation

holoscan::params::load

Beta
View as Markdown
HOLOSCAN_PARAMS_IO_EXPORT ParamArchiveResult<ParamSnapshot> holoscan::params::load(
const std::filesystem::path &path,
ParamLoadOptions options = {}
)

Load and transactionally validate one JSON v1 snapshot archive.

This cold operation allocates and blocks on filesystem I/O. It validates the closed schema and semantic digest before publishing a snapshot.

Returns: New owning snapshot with archive identity, or a typed failure with no partial result.

Parameters

path
const std::filesystem::path &

Existing archive path.

options
ParamLoadOptionsDefaults to {}

Finite parser/source-size policy.