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.
22 lines (21 loc) • 694 B
TypeScript
import ROM from './dats/rom.js';
import File from './files/file.js';
/**
* A container holding a {@link ROM}, a found input {@link File}, and a desired output {@link File}.
*/
export default class ROMWithFiles {
private readonly rom;
private readonly inputFile;
private readonly outputFile;
constructor(rom: ROM, inputFile: File, outputFile: File);
getRom(): ROM;
getInputFile(): File;
getOutputFile(): File;
withRom(rom: ROM): ROMWithFiles;
withInputFile(inputFile: File): ROMWithFiles;
withOutputFile(outputFile: File): ROMWithFiles;
/**
* A string hash code to uniquely identify this {@link ROMWithFiles}.
*/
hashCode(): string;
}