libmoost
|
Collection of file operations not easily doable using stdlib functions. More...
#include <file_operations.hpp>
Static Public Member Functions | |
static void | change_size (const std::string &path, boost::int64_t length) |
Change the file of a size. Smaller sizes will truncate the file, larger sizes will pad the file with zeroes. | |
Static Private Member Functions | |
static std::string | get_error_string (int err) |
Get an error string from an error code. |
Collection of file operations not easily doable using stdlib functions.
Definition at line 57 of file file_operations.hpp.
static void moost::io::file_operations::change_size | ( | const std::string & | path, |
boost::int64_t | length | ||
) | [inline, static] |
Change the file of a size. Smaller sizes will truncate the file, larger sizes will pad the file with zeroes.
Definition at line 81 of file file_operations.hpp.
static std::string moost::io::file_operations::get_error_string | ( | int | err | ) | [inline, static, private] |
Get an error string from an error code.
Definition at line 64 of file file_operations.hpp.