takane
Validators for ArtifactDB file formats
Loading...
Searching...
No Matches
takane::rds_file Namespace Reference

Definitions for RDS files. More...

Functions

void validate (const std::filesystem::path &path, const ObjectMetadata &metadata, Options &options)
 

Detailed Description

Definitions for RDS files.

Function Documentation

◆ validate()

void takane::rds_file::validate ( const std::filesystem::path & path,
const ObjectMetadata & metadata,
Options & options )
inline

If Options::rds_file_strict_check is provided, this enables stricter checking of the RDS file contents. By default, we just look at the first few bytes to verify the files.

Parameters
pathPath to the directory containing the RDS file.
metadataMetadata for the object, typically read from its OBJECT file.
optionsValidation options.