文件操作 - SubscriptionSet.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/ioredis/built/SubscriptionSet.d.ts
编辑文件内容
import { CommandNameFlags } from "./Command"; declare type AddSet = CommandNameFlags["ENTER_SUBSCRIBER_MODE"][number]; declare type DelSet = CommandNameFlags["EXIT_SUBSCRIBER_MODE"][number]; /** * Tiny class to simplify dealing with subscription set */ export default class SubscriptionSet { private set; add(set: AddSet, channel: string): void; del(set: DelSet, channel: string): void; channels(set: AddSet | DelSet): string[]; isEmpty(): boolean; } export {};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件