在线看片18_亚洲性吧_在线污_神马午夜达达兔_奇米色网_在线免费看污

File

功能介紹

用于操作文件或目錄。

相關class位置

  • File
    • namespace: EasySwoole\Utility\File

核心對象方法

createDirectory

創建目錄:

  • string $dirPath 目錄路徑
  • string $permissions 目錄權限
static function createDirectory($dirPath, $permissions = 0755):bool

cleanDirectory

清空目錄:

  • string $dirPath 目錄路徑
  • string $keepStructure 是否保持目錄結構
static function cleanDirectory($dirPath, $keepStructure = false):bool

deleteDirectory

刪除目錄:

  • string $dirPath 目錄路徑
static function deleteDirectory($dirPath):bool

copyDirectory

復制目錄:

  • string $source 源位置
  • string $target 目標位置
  • bool $overwrite 是否覆蓋
static function copyDirectory($source, $target, $overwrite = true):bool

moveDirectory

移動目錄:

  • string $source 源位置
  • string $target 目標位置
  • bool $overwrite 是否覆蓋
static function moveDirectory($source, $target ,$overwrite = true):bool

copyFile

復制文件:

  • string $source 源位置
  • string $target 目標位置
  • bool $overwrite 是否覆蓋
static function copyFile($source, $target, $overwrite = true):bool

touchFile

創建空文件:

  • string $filePath 文件名
  • bool $overwrite 是否覆蓋
static function touchFile($filePath, $overwrite = true):bool

createFile

創建有內容文件:

  • string $filePath 文件名
  • string $content 內容
  • bool $overwrite 是否覆蓋
static function createFile($filePath, $content, $overwrite = true):bool

moveFile

移動文件:

  • string $source 源位置
  • string $target 目標位置
  • bool $overwrite 是否覆蓋
static function moveFile($source, $target, $overwrite = true):bool

scanDirectory

獲得文件目錄或目錄文件數組:

  • string $dirPath 目錄路徑
static function scanDirectory($dirPath)
主站蜘蛛池模板: 成人久久久久久 | 日韩一区二区三区在线观看 | 在线观看毛片视频 | 欧美自拍一区 | 国产精品不雅视频 | 久草日韩 | 青草草在线视频 | 日韩视频免费 | 亚洲伦理网 | 国产91在线视频 | 亚洲女人在线 | 国产一区,二区 | 精品在线免费视频 | 一区二区免费在线 | 香蕉视频在线免费播放 | 四虎在线免费播放 | 国产三级精品三级观看 | 色av导航| 自拍偷拍视频网 | 国产中文av在线 | av毛片在线看 | 91免费高清视频 | 亚洲精品中文字幕在线观看 | 婷婷激情丁香 | 操操操综合网 | 中文字幕精品久久 | 免费观看黄色大片 | 日韩精品极品视频在线观看免费 | 亚洲黄色影院 | 国产精品九九九九九九 | 亚洲成人精品一区二区 | 男女爱爱视频免费看 | 一级黄色录像大片 | 青青草这里只有精品 | 情侣在线视频 | 四虎成人精品永久免费av九九 | 免费av播放| 亚洲色综合 | 国产a网站 | 亚洲麻豆精品 | 视频一区亚洲 |