Namespace for classes adpated to filesystems. More...
Classes | |
class | Directory |
The Directory class for filesystem directory operations. More... | |
class | FileEditor |
The FileEditor class to modify file This class is derived from UnCopyable, so no copy operation. Move operation is allowed by std::move();. More... | |
class | FileReader |
The FileReader class for read-only operations. This class is derived from UnCopyable, so no copy operation. Move operation is allowed by std::move();. More... | |
class | Path |
The Path class to resolve filesystem path. More... | |
Functions | |
std::size_t | get_file_size (std::string filename) |
Get file size in byte. More... | |
Detailed Description
Namespace for classes adpated to filesystems.
Function Documentation
std::size_t zz::fs::get_file_size | ( | std::string | filename | ) |
Get file size in byte.
- Parameters
-
filename
- Returns
- File size in byte, 0 if empty or any error occurred.