fswatch  1.14.0
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::string fsw::fsw_realpath (const char *path, char *resolved_path)
 A thin wrapper about realpath. More...
 
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