文件操作 - index.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/postcss-value-parser/lib/index.js
编辑文件内容
var parse = require("./parse"); var walk = require("./walk"); var stringify = require("./stringify"); function ValueParser(value) { if (this instanceof ValueParser) { this.nodes = parse(value); return this; } return new ValueParser(value); } ValueParser.prototype.toString = function() { return Array.isArray(this.nodes) ? stringify(this.nodes) : ""; }; ValueParser.prototype.walk = function(cb, bubble) { walk(this.nodes, cb, bubble); return this; }; ValueParser.unit = require("./unit"); ValueParser.walk = walk; ValueParser.stringify = stringify; module.exports = ValueParser;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件