Go to the documentation of this file.
47 #include <sys/types.h>
60 Istream&
operator>>(Istream& is, fileStat& fs);
61 Ostream&
operator<<(Ostream& os,
const fileStat& fs);
95 const bool followLink =
true,
96 const unsigned int maxTime = 0
110 const bool followLink =
true,
111 const unsigned int maxTime = 0
123 const struct stat&
status()
const
A class for handling file names.
bool sameDevice(const fileStat &other) const
Compare two fileStats for same device.
friend Istream & operator>>(Istream &is, fileStat &fs)
Wrapper for stat() and lstat() system calls.
Istream & operator>>(Istream &, directionInfo &)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
friend Ostream & operator<<(Ostream &os, const fileStat &fs)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool valid() const
Was file-stat successful?
fileStat()
Empty constructor.
const struct stat & status() const
Raw status.
double dmodTime() const
Return the modification time in seconds (nanosecond resolution)
label size() const
Size in bytes. Zero for an invalid file-stat.
time_t modTime() const
Return the modification time in seconds.
bool sameINode(const fileStat &other) const
Compare two fileStats for same Inode.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...