X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ffilesystem%2Ffilename.h;fp=nucleus%2Flibrary%2Ffilesystem%2Ffilename.h;h=8e257358def959d93da0fcb8c4e2e2e8ff271448;hb=7a381305a6cd14cf4254b6259a3ffb0e1912b390;hp=1f2c7d3ba34bf40a302ade79e41a447911c73d3e;hpb=5fcd199a90e9e3e68e50b7644a091ad8fa20027a;p=feisty_meow.git diff --git a/nucleus/library/filesystem/filename.h b/nucleus/library/filesystem/filename.h index 1f2c7d3b..8e257358 100644 --- a/nucleus/library/filesystem/filename.h +++ b/nucleus/library/filesystem/filename.h @@ -141,6 +141,10 @@ public: bool is_readable() const; bool is_executable() const; + // is_normal makes sure that the file or directory is not a named pipe or other + // special type of file. symbolic links are considered normal. + bool is_normal() const; + enum write_modes { ALLOW_NEITHER = 0x0, ALLOW_READ = 0x1, ALLOW_WRITE = 0x2,