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.

19 lines (18 loc) • 650 B
import ProgressBar from '../console/progressBar.js'; import File from '../types/files/file.js'; import Options from '../types/options.js'; import Module from './module.js'; /** * Recycle any unknown files in the {@link OptionsProps.output} directory, if applicable. */ export default class DirectoryCleaner extends Module { private readonly options; constructor(options: Options, progressBar: ProgressBar); /** * Clean some directories, excluding some files. */ clean(dirsToClean: string[], filesToExclude: File[]): Promise<string[]>; private trashOrDelete; private backupFiles; private static getEmptyDirs; }