Apache Mesos
Namespaces | Functions
fs.hpp File Reference
#include <unistd.h>
#include <sys/statvfs.h>
#include <string>
#include <stout/bytes.hpp>
#include <stout/error.hpp>
#include <stout/nothing.hpp>
#include <stout/os.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 fs
 

Functions

Try< Bytesfs::size (const std::string &path="/")
 
Try< Bytesfs::used (const std::string &path="/")
 
Try< double > fs::usage (const std::string &path="/")
 
Try< Nothingfs::symlink (const std::string &original, const std::string &link)
 
Try< std::list< std::string > > fs::list (const std::string &pattern)