文件操作 - alias.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/pacote/lib/fetchers/alias.js
编辑文件内容
'use strict' const Fetcher = require('../fetch') const fetchRegistry = require('./registry') const fetchRemote = module.exports = Object.create(null) Fetcher.impl(fetchRemote, { packument (spec, opts) { return fetchRegistry.packument(spec.subSpec, opts) }, manifest (spec, opts) { return fetchRegistry.manifest(spec.subSpec, opts) }, tarball (spec, opts) { return fetchRegistry.tarball(spec.subSpec, opts) }, fromManifest (manifest, spec, opts) { return fetchRegistry.fromManifest(manifest, spec.subSpec, opts) } })
修改文件时间
将文件时间修改为当前时间的前一年
删除文件