Module specifications::data

source ·
Expand description

Defines project-wide structs and interfaces for dealing with data registries and datasets.

Structs

  • Defines a single AssetInfo file that describes a dataset but for a user-facing user.
  • Defines an index of all datasets known to the instance.
  • Defines a single DataInfo file that describes a dataset and how to access it.
  • Defines a structure similar to the data index, except that it is used at runtime when locations have been resolved.

Enums

  • Defines possible ways of accessing datasets.
  • Defines (parsing) errors that relate to the AssetInfo struct.
  • Defines whether a dataset is accessible locally or remotely (and thus needs to be transferred first).
  • Defines (parsing) errors that relate to the DataIndex struct.
  • Defines (parsing) errors that relate to the DataInfo struct.
  • Defines possible ways of downloading datasets to make them locally available.
  • Defines errors that relate to the RuntimeDataIndex struct.

Type Definitions

  • Placeholder for the Location’s type.