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

Definitions for GMT files. More...

Functions

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

Detailed Description

Definitions for GMT files.

Function Documentation

◆ validate()

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

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

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