文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/nitropack/node_modules/strip-literal/dist/index.d.ts
编辑文件内容
import * as js_tokens from 'js-tokens'; import { Token } from 'js-tokens'; interface StripLiteralOptions { /** * Will be called for each string literal. Return false to skip stripping. */ filter?: (s: string) => boolean; /** * Fill the stripped literal with this character. * It must be a single character. * * @default ' ' */ fillChar?: string; } declare function stripLiteralJsTokens(code: string, options?: StripLiteralOptions): { result: string; tokens: Token[]; }; /** * Strip literal from code. */ declare function stripLiteral(code: string, options?: StripLiteralOptions): string; /** * Strip literal from code, return more detailed information. */ declare function stripLiteralDetailed(code: string, options?: StripLiteralOptions): { result: string; tokens: js_tokens.Token[]; }; export { type StripLiteralOptions, stripLiteral, stripLiteralDetailed, stripLiteralJsTokens };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件