文件操作 - fs.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@vercel/nft/out/fs.d.ts
编辑文件内容
/// <reference types="node" /> import type { Stats } from 'fs'; export declare class CachedFileSystem { private fileCache; private statCache; private symlinkCache; private fileIOQueue; constructor({ cache, fileIOConcurrency, }: { cache?: { fileCache?: Map<string, Promise<string | null>>; statCache?: Map<string, Promise<Stats | null>>; symlinkCache?: Map<string, Promise<string | null>>; }; fileIOConcurrency: number; }); readlink(path: string): Promise<string | null>; readFile(path: string): Promise<string | null>; stat(path: string): Promise<Stats | null>; private _internalReadlink; private _internalReadFile; private _internalStat; private executeFileIO; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件