X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstat.h;fp=source%2Fstat.h;h=4970ff8634b9d1a1cf99061c1dc73f27e4054bc6;hp=f6b13d431a340cddd256336a6e676e668f00c462;hb=a17d6ad286e19e2222ab8b6c9a762a83bf2c6c56;hpb=f91f1df3e0b00b3a270e571d4b2c8251da4d1226 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);