文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/decamelize/index.d.ts
编辑文件内容
/** Convert a camelized string into a lowercased one with a custom separator: `unicornRainbow` → `unicorn_rainbow`. @param string - The camelcase string to decamelize. @param separator - The separator to use to put in between the words from `string`. Default: `'_'`. @example ``` import decamelize = require('decamelize'); decamelize('unicornRainbow'); //=> 'unicorn_rainbow' decamelize('unicornRainbow', '-'); //=> 'unicorn-rainbow' ``` */ declare function decamelize(string: string, separator?: string): string; export = decamelize;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件