文件操作 - util.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/superjson/dist/util.d.ts
编辑文件内容
export declare function find<T>(record: Record<string, T>, predicate: (v: T) => boolean): T | undefined; export declare function forEach<T>(record: Record<string, T>, run: (v: T, key: string) => void): void; export declare function includes<T>(arr: T[], value: T): boolean; export declare function findArr<T>(record: T[], predicate: (v: T) => boolean): T | undefined;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件