文件操作 - role.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/genfun/lib/role.js
编辑文件内容
'use strict' /* * Role * * A Role encapsulates a particular object's 'role' in a method's * dispatch. They are added directly to the selector for a method, and thus * do not prevent the objects a method was defined on from being garbage * collected. */ module.exports = Role function Role (method, position) { this.method = method this.position = position } Role.roleKeyName = Symbol('roles')
修改文件时间
将文件时间修改为当前时间的前一年
删除文件