1 #ifndef _library__directory__hpp__included__
2 #define _library__directory__hpp__included__
10 std::set
<std::string
> enumerate(const std::string
& dir
, const std::string
& match
);
11 std::string
absolute_path(const std::string
& relative
);
12 uintmax_t size(const std::string
& path
);
13 time_t mtime(const std::string
& path
);
14 bool exists(const std::string
& filename
);
15 bool is_regular(const std::string
& filename
);
16 bool is_directory(const std::string
& filename
);
17 bool ensure_exists(const std::string
& path
);
18 int rename_overwrite(const char* oldname
, const char* newname
);