diff options
Diffstat (limited to 'nix/libutil/util.hh')
| -rw-r--r-- | nix/libutil/util.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/libutil/util.hh b/nix/libutil/util.hh index 44d579f3d6a..ee8e5461b42 100644 --- a/nix/libutil/util.hh +++ b/nix/libutil/util.hh | |||
| @@ -65,6 +65,9 @@ Path readLink(const Path & path); | |||
| 65 | 65 | ||
| 66 | bool isLink(const Path & path); | 66 | bool isLink(const Path & path); |
| 67 | 67 | ||
| 68 | /* Return true if the file at PATH is a regular, non-executable file. */ | ||
| 69 | bool isPlainFile(const Path & path); | ||
| 70 | |||
| 68 | /* Read the contents of a directory. The entries `.' and `..' are | 71 | /* Read the contents of a directory. The entries `.' and `..' are |
| 69 | removed. */ | 72 | removed. */ |
| 70 | struct DirEntry | 73 | struct DirEntry |
