Represents the structure of a Packwiz index file, as well as providing its location.

interface PackwizIndex {
    files: IndexFileEntry[];
    hash: string;
    hashFormat: HashFormat;
    location: Resource;
}

Properties

The files listed in the index file.

hash: string

The hash of the index file.

hashFormat: HashFormat

The hash format of the index file.

location: Resource

The location of the index file. This can be a local file path or a remote URL.