Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IndexFile

A single file in the Index, to be downloaded by the modpack installer. TODO: finish

Hierarchy

  • IndexFile

Index

Properties

Optional alias

alias: string

file

file: Path

The path to the file to be downloaded, relative to this index file.

hash

hash: string

The hash of the specified file, as a string. Binary hashes should be stored as hexadecimal, and case should be ignored during parsing. Numeric hashes (e.g. Murmur2) should still be stored as a string, to ensure the value is preserved correctly.

Optional hash-format

hash-format: HashFormat

The hash format (algorithm) for the hash of the specified file. Defaults to the hash format specified in the index - ideally remove this value if it is equal to the hash format for the index to save space.

Optional metafile

metafile: boolean

Optional preserve

preserve: boolean

Generated using TypeDoc