在线看片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)
主站蜘蛛池模板: 97在线精品 | 成人精品一区二区三区中文字幕 | 日本在线观看免费 | 午夜国产在线 | 国产不卡免费视频 | 91青青操| 久久久久久久久久久久久久 | 日韩在线一区二区 | 久久婷婷激情 | www国产91 | www色婷婷 | 91丨九色丨黑人外教 | 成人免费视频大全 | 尹人久久| 日本黄色视屏 | 李丽珍毛片 | 久草福利在线视频 | 精品久久一区二区三区 | 日韩精品视频中文字幕 | 撸大师在线观看 | 天堂av官网 | 美女久久久久久久久 | 青草伊人久久 | 欧美在线二区 | 欧美综合在线观看 | 亚洲二区在线视频 | 国产一区二区免费在线 | 亚洲天天看 | 国产精品久久久免费观看 | 亚洲男人天堂2017 | 18深夜在线观看免费视频 | 秋霞成人av | 麻豆视频在线看 | 亚洲男人天堂视频 | 久久久久久国产精品三级玉女聊斋 | 香蕉视频免费在线播放 | 日韩在线第二页 | 欧美一级一区二区三区 | a黄色大片 | 国产深夜福利 | 久久丝袜视频 |