UNPKG

igir

Version:

🕹 A zero-setup ROM collection manager that sorts, filters, extracts or archives, patches, and reports on collections of any size on any OS.

14 lines (13 loc) • 535 B
import File from '../files/file.js'; import Patch from './patch.js'; /** * NOTE(cemmer): this file exists to prevent circular dependencies between Patch and its children. */ export default class PatchFactory { private static readonly PATCH_PARSERS; private static readonly MAX_HEADER_LENGTH_BYTES; static getSupportedExtensions(): string[]; static patchFromFilename(file: File): Promise<Patch | undefined>; private static readHeaderHex; static patchFromFileContents(file: File): Promise<Patch | undefined>; }