文件操作 - math-helper.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/less/lib/less/functions/math-helper.js
编辑文件内容
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var dimension_1 = tslib_1.__importDefault(require("../tree/dimension")); var MathHelper = function (fn, unit, n) { if (!(n instanceof dimension_1.default)) { throw { type: 'Argument', message: 'argument must be a number' }; } if (unit === null) { unit = n.unit; } else { n = n.unify(); } return new dimension_1.default(fn(parseFloat(n.value)), unit); }; exports.default = MathHelper; //# sourceMappingURL=math-helper.js.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件