Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
system_file_space_provider.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <sys/stat.h>
4#include <boost/filesystem.hpp>
5
6namespace bfs = boost::filesystem;
7
10 public:
14
15 // Wrapper for Linux stat
16 int get_stat(const char *path, struct stat *buf) const;
17
18 // Wrapper for boost file system space
19 bfs::space_info get_space(const bfs::path& p, boost::system::error_code& ec) const;
20 };
21}
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]