文件操作 - source-map.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@ampproject/remapping/dist/types/source-map.d.ts
编辑文件内容
import type { GenMapping } from '@jridgewell/gen-mapping'; import type { DecodedSourceMap, EncodedSourceMap, Options } from './types'; /** * A SourceMap v3 compatible sourcemap, which only includes fields that were * provided to it. */ export default class SourceMap { file?: string | null; mappings: EncodedSourceMap['mappings'] | DecodedSourceMap['mappings']; sourceRoot?: string; names: string[]; sources: (string | null)[]; sourcesContent?: (string | null)[]; version: 3; ignoreList: number[] | undefined; constructor(map: GenMapping, options: Options); toString(): string; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件