X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fportability%2Ffile_system.hpp;h=6a7d178610a5aa0f6dc973f0b4a1986d94a8d94f;hp=374e86da2c9e8ba74d742fb5b7c2891cee756cf3;hb=4f6e4488a55f7e3ba3f7485d78177f793c0eab9a;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/stlplus/portability/file_system.hpp b/src/stlplus/portability/file_system.hpp index 374e86d..6a7d178 100644 --- a/src/stlplus/portability/file_system.hpp +++ b/src/stlplus/portability/file_system.hpp @@ -4,7 +4,7 @@ // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 +// (c) Andy Rushton 2004 onwards // License: BSD License, see ../docs/license.html // Simplified access to the File system @@ -36,6 +36,7 @@ namespace stlplus // test for whether there's something present and its a folder bool is_folder(const std::string& thing); // test for whether there's something present and its a file + // a file can be a regular file, a symbolic link, a FIFO or a socket, but not a device bool is_file(const std::string& thing); ////////////////////////////////////////////////////////////////////////////////