文件操作 - import.cjs
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/csso/node_modules/css-tree/cjs/syntax/atrule/import.cjs
编辑文件内容
'use strict'; const types = require('../../tokenizer/types.cjs'); const importAtrule = { parse: { prelude() { const children = this.createList(); this.skipSC(); switch (this.tokenType) { case types.String: children.push(this.String()); break; case types.Url: case types.Function: children.push(this.Url()); break; default: this.error('String or url() is expected'); } if (this.lookupNonWSType(0) === types.Ident || this.lookupNonWSType(0) === types.LeftParenthesis) { children.push(this.MediaQueryList()); } return children; }, block: null } }; module.exports = importAtrule;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件