Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
system_file_space_provider.cpp
Go to the documentation of this file.
2
3namespace bfs = boost::filesystem;
4
6 int system_file_space_provider::get_stat(const char *path, struct stat *buf) const {
7 return stat(path, buf);
8 }
9
10 bfs::space_info system_file_space_provider::get_space(const bfs::path& p, boost::system::error_code& ec) const {
11 return bfs::space(p, ec);
12 }
13
14 using bfs::directory_iterator;
15}
const mie::Vuint & p
Definition bn.cpp:27
wraps boost::filesystem::path to provide platform independent path manipulation.
bfs::space_info get_space(const bfs::path &p, boost::system::error_code &ec) const
int get_stat(const char *path, struct stat *buf) const
uint8_t buf[2048]