string get_random_file_name(string prefix = "./", string suffix = "") | 生成一个随机文件名 |
void save(string path, mixed data) | 保存文件, 自动创建文件夹 |
string join(string path, ...) | 拼接路径 |
void rmdir(string path) | 删除文件夹, 慎用 |
void delete_files(string path, mixed pattern = nil) | 删除文件或者文件夹 |
mixed load_files(string path, mixed pattern = nil, bool skip_empty = false) | 读取文件为 buffer, 读取 文件夹为map |
void save_files(mixed val, string parent = "/", bool overrided = false) | 保存文件到磁盘上 |