]> git.tdb.fi Git - libs/core.git/blobdiff - source/stat.h
Refactor the API
[libs/core.git] / source / stat.h
index f6b13d431a340cddd256336a6e676e668f00c462..4970ff8634b9d1a1cf99061c1dc73f27e4054bc6 100644 (file)
@@ -31,6 +31,9 @@ struct stat stat(const Path &fn);
 /// Tests for existence of a file
 bool exists(const Path &path);
 
+/// Tests whether a path refers to an existing regular file
+bool is_reg(const Path &path);
+
 /// Tests whether a path refers to an existing directory
 bool is_dir(const Path &path);