- std::string const & ext = std::string());
-
-/// Returns a vector of all files in directory dir having extension ext.
-std::vector<std::string> const dirList(FileName const & dir,
- std::string const & ext = std::string());
-
-/** Is directory read only?
- returns
- true: dir writeable
- false: not writeable
-*/
-bool isDirWriteable(std::string const & path);
-
-/** Is a file readable ?
- Returns true if the file `path' is readable.
- */
-bool isFileReadable(FileName const & path);
+ std::string const & ext = std::string(),
+ search_mode mode = must_exist);