X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstat.h;h=4970ff8634b9d1a1cf99061c1dc73f27e4054bc6;hb=3c5dc8a9fa0584ebdeedb65b8c8ff56c5fbc7025;hp=f6b13d431a340cddd256336a6e676e668f00c462;hpb=f91f1df3e0b00b3a270e571d4b2c8251da4d1226;p=libs%2Fcore.git diff --git a/source/stat.h b/source/stat.h index f6b13d4..4970ff8 100644 --- a/source/stat.h +++ b/source/stat.h @@ -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);