|
fswatch 1.20.1
|
Header defining utility functions to manipulate paths. More...
#include <string>#include <vector>#include <filesystem>#include <sys/stat.h>Go to the source code of this file.
Namespaces | |
| namespace | fsw |
| Main namespace of libfswatch. | |
Functions | |
| std::vector< std::filesystem::directory_entry > | fsw::get_directory_entries (const std::filesystem::path &path) |
| Gets a vector of direct directory entries. | |
| std::vector< std::filesystem::directory_entry > | fsw::get_subdirectories (const std::filesystem::path &path) |
| Gets a vector of direct subdirectories. | |
| 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. | |
| 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. | |
| bool | fsw::stat_path (const std::string &path, struct stat &fd_stat, bool follow_symlink) |
Wraps a stat(path, fd_stat) call or a lstat(path, fd_stat) call, depending on the value of follow_symlink. The function invokes perror() if it fails. | |
Header defining utility functions to manipulate paths.