🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 基础函数 ~~~ /** * @param string $dir 路径 * @param bool $force 是否强制创建父目录 或 忽略目录是否已经创建 * @param int $code 读写执行代码 * @param bool $force 忽略是否存在, 强制删除 * * @throws DirException * @return void */ // 创建目录 Dir::make(string $dir, bool $force = true, int $code = 0755) : void // 删除目录 Dir::delete(string $dir, bool $force = true) : void Dir::drop(string $dir, bool $force = true) : void ~~~