文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/impound/dist/index.d.ts
编辑文件内容
import * as unplugin from 'unplugin'; interface ImpoundOptions { /** An array of patterns of importers to apply the import protection rules to. */ include?: Array<string | RegExp>; /** An array of patterns of importers where the import protection rules explicitly do not apply. */ exclude?: Array<string | RegExp>; cwd?: string; /** Whether to throw an error or not. if set to `false`, an error will be logged to console instead. */ error?: boolean; /** An array of patterns to prevent being imported, along with an optional warning to display. */ patterns: [importPattern: string | RegExp, warning?: string][]; } declare const ImpoundPlugin: unplugin.UnpluginInstance<ImpoundOptions, boolean>; export { type ImpoundOptions, ImpoundPlugin };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件