Switch to unified view

a/src/pathut.h b/src/pathut.h
...
...
75
/// windows, we set ctime=mtime as ctime is actually the creation
75
/// windows, we set ctime=mtime as ctime is actually the creation
76
/// time, for which we have no use).
76
/// time, for which we have no use).
77
/// Only st_mtime, st_ctime, st_size, st_mode (file type bits) are set on
77
/// Only st_mtime, st_ctime, st_size, st_mode (file type bits) are set on
78
/// all systems. st_dev and st_ino are set for special posix usage.
78
/// all systems. st_dev and st_ino are set for special posix usage.
79
/// The rest is zeroed.
79
/// The rest is zeroed.
80
/// @ret 0 for success
80
struct stat;
81
struct stat;
81
extern int path_fileprops(const std::string path, struct stat *stp,
82
extern int path_fileprops(const std::string path, struct stat *stp,
82
                          bool follow = true);
83
                          bool follow = true);
83
84
84
/// Check that path is traversable and last element exists
85
/// Check that path is traversable and last element exists