文件操作 - scope-selector.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/atom/resources/app/apm/node_modules/first-mate/lib/scope-selector.js
编辑文件内容
(function() { var ScopeSelector, ScopeSelectorParser; ScopeSelectorParser = require('../lib/scope-selector-parser'); module.exports = ScopeSelector = (function() { function ScopeSelector(source) { this.matcher = ScopeSelectorParser.parse(source); } ScopeSelector.prototype.matches = function(scopes) { if (typeof scopes === 'string') { scopes = [scopes]; } return this.matcher.matches(scopes); }; ScopeSelector.prototype.getPrefix = function(scopes) { if (typeof scopes === 'string') { scopes = [scopes]; } return this.matcher.getPrefix(scopes); }; ScopeSelector.prototype.toCssSelector = function() { return this.matcher.toCssSelector(); }; ScopeSelector.prototype.toCssSyntaxSelector = function() { return this.matcher.toCssSyntaxSelector(); }; return ScopeSelector; })(); }).call(this);
修改文件时间
将文件时间修改为当前时间的前一年
删除文件