文件操作 - files.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/vscode-languageserver/lib/node/files.d.ts
编辑文件内容
/** * @deprecated Use the `vscode-uri` npm module which provides a more * complete implementation of handling VS Code URIs. */ export declare function uriToFilePath(uri: string): string | undefined; export declare function resolve(moduleName: string, nodePath: string | undefined, cwd: string | undefined, tracer: (message: string, verbose?: string) => void): Promise<string>; /** * Resolve the global npm package path. * @deprecated Since this depends on the used package manager and their version the best is that servers * implement this themselves since they know best what kind of package managers to support. * @param tracer the tracer to use */ export declare function resolveGlobalNodePath(tracer?: (message: string) => void): string | undefined; export declare function resolveGlobalYarnPath(tracer?: (message: string) => void): string | undefined; export declare namespace FileSystem { function isCaseSensitive(): boolean; function isParent(parent: string, child: string): boolean; } export declare function resolveModulePath(workspaceRoot: string, moduleName: string, nodePath: string, tracer: (message: string, verbose?: string) => void): Promise<string>;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件