PHP Class phprs\util\FileOp

显示文件 Open project: caoym/phprs-restful

Public Methods

Method Description
copys ( string $src, string $dst, string $except = null ) : boolean 复制文件或目录
mkdirs ( string $path, number $mode = 511 ) : boolean mkdir -p
tempdir ( string $dir, string $prefix ) : string 临时目录

Method Details

copys() public static method

复制文件或目录
public static copys ( string $src, string $dst, string $except = null ) : boolean
$src string
$dst string
$except string
return boolean

mkdirs() public static method

mkdir -p
public static mkdirs ( string $path, number $mode = 511 ) : boolean
$path string
$mode number
return boolean

tempdir() public method

临时目录
public tempdir ( string $dir, string $prefix ) : string
$dir string
$prefix string
return string