Kea 2.7.6
filesystem.h File Reference
#include <sys/stat.h>
#include <string>
+ Include dependency graph for filesystem.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  isc::util::file::Path
 Paths on a filesystem. More...
 
struct  isc::util::file::TemporaryDirectory
 
struct  isc::util::file::Umask
 RAII device to limit access of created files. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::util
 
namespace  isc::util::file
 

Functions

bool isc::util::file::exists (const std::string &path)
 Check if there is a file or directory at the given path.
 
string isc::util::file::getContent (const std::string &file_name)
 Get the content of a regular file.
 
bool isc::util::file::isDir (const std::string &path)
 Check if there is a directory at the given path.
 
bool isc::util::file::isFile (const std::string &path)
 Check if there is a file at the given path.
 
bool isc::util::file::isSocket (string const &path)