projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
noisy logging turned on to help look for bug in directory tree.
[feisty_meow.git]
/
nucleus
/
library
/
filesystem
/
filename.h
diff --git
a/nucleus/library/filesystem/filename.h
b/nucleus/library/filesystem/filename.h
index 1f2c7d3ba34bf40a302ade79e41a447911c73d3e..8e257358def959d93da0fcb8c4e2e2e8ff271448 100644
(file)
--- 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;
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,
enum write_modes {
ALLOW_NEITHER = 0x0,
ALLOW_READ = 0x1, ALLOW_WRITE = 0x2,