/// in the file system.
bool canWrite() const;
/// in the file system.
bool canWrite() const;
- /// This function checks that what we're trying to work only on a regular file
- /// or directory. Check for things like /dev/null, any block special file,
- /// or other things that aren't "regular" regular files or directories.
+ /// This function checks that what we're trying to work only on a regular file.
+ /// Check for things like /dev/null, any block special file,
+ /// or other things that aren't "regular" regular files.
/// @returns true if the file is S_ISREG.
/// @brief Determines if the file is a regular file
bool isRegularFile() const;
/// @returns true if the file is S_ISREG.
/// @brief Determines if the file is a regular file
bool isRegularFile() const;