libfswatch  1.9.3
Namespaces | Functions
path_utils.hpp File Reference

Header defining utility functions to manipulate paths. More...

#include <string>
#include <vector>
#include <sys/stat.h>

Go to the source code of this file.

Namespaces

 fsw
 Main namespace of libfswatch.
 

Functions

std::vector< std::string > fsw::get_directory_children (const std::string &path)
 Gets a vector of direct directory children. More...
 
bool fsw::read_link_path (const std::string &path, std::string &link_path)
 Resolves a path name. More...
 
bool fsw::lstat_path (const std::string &path, struct stat &fd_stat)
 Wraps a lstat(path, fd_stat) call that invokes perror() if it fails. More...
 
bool fsw::stat_path (const std::string &path, struct stat &fd_stat)
 Wraps a stat(path, fd_stat) call that invokes perror() if it fails. More...
 

Detailed Description

Header defining utility functions to manipulate paths.

License:
GNU General Public License v. 3.0
Author
Enrico M. Crisostomo
Version
1.8.0