![]() |
文件操作相关函数
#include "File.hpp"
静态 Public 成员函数 | |
| static bool | IsDir (const char *path) |
| 路径是否为文件夹 更多... | |
| static bool | IsFile (const char *path) |
| 路径是否为文件 更多... | |
| static ErrCodeE | Copy (const char *src, const char *dst) |
| 文件拷贝 更多... | |
| static bool | Exist (const char *path) |
| 文件是否存在 更多... | |
| static void | Create (const char *path) |
| 创建一个文件 更多... | |
| static int32_t | Size (const char *path) |
| 文件大小 更多... | |
| static void | Remove (const char *path) |
| 删除一个文件 更多... | |
| static ErrCodeE | Read (const char *path, std::string &buffer) |
| 从文件中读取数据 更多... | |
| static ErrCodeE | Write (const char *path, const char *buffer, int size) |
| 向文件中写入数据 更多... | |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |