Method |
Description |
|
copyDir ( string $source, string $dest ) : boolean |
Copy directory recursively |
|
exists ( $filename ) |
|
|
get ( string $filename ) : string | boolean |
Read a file and return bin data |
|
getDirSize ( string $dir ) : int, |
Recursively count the size of specified directory |
|
getFileNum ( string $dir, $file_num ) : int, |
Recursively count files of specified directory |
|
hash ( $filename, $type = 'sha256' ) |
|
|
put ( $filename, $data ) |
|
|
remove ( $filename ) |
Remove a file |
|
removeDir ( $dir ) |
|
|
rename ( $fname, $new_fname ) |
|
|
size ( $filename ) |
|
|