文件操作 - balanced-pool.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/undici-types/balanced-pool.d.ts
编辑文件内容
import Pool from './pool' import Dispatcher from './dispatcher' import { URL } from 'url' export default BalancedPool declare class BalancedPool extends Dispatcher { constructor(url: string | URL | string[], options?: Pool.Options); addUpstream(upstream: string): BalancedPool; removeUpstream(upstream: string): BalancedPool; upstreams: Array<string>; /** `true` after `pool.close()` has been called. */ closed: boolean; /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ destroyed: boolean; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件