paludis
Version 2.6.0
|
Public Member Functions | |
FSStat (const FSPath &) | |
FSStat (const FSStat &) | |
FSStat & | operator= (const FSStat &) |
bool | exists () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
bool | is_regular_file () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
bool | is_regular_file_or_symlink_to_regular_file () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
bool | is_directory () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
bool | is_directory_or_symlink_to_directory () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
bool | is_symlink () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Timestamp | ctim () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Timestamp | mtim () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
mode_t | permissions () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
off_t | file_size () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
uid_t | owner () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
gid_t | group () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
std::pair< dev_t, ino_t > | lowlevel_id () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Timestamp paludis::FSStat::ctim | ( | ) | const |
Return the time the inode for the filesystem entry was last modified
FSError | if there was a problem accessing the filesystem entry |
off_t paludis::FSStat::file_size | ( | ) | const |
Return the size of our file, in bytes.
FSError | if we don't have a size. |
gid_t paludis::FSStat::group | ( | ) | const |
Fetch our group.
FSError | If we don't exist or the stat call fails. |
std::pair<dev_t, ino_t> paludis::FSStat::lowlevel_id | ( | ) | const |
Return an unique low-level id for this entry
Timestamp paludis::FSStat::mtim | ( | ) | const |
Return the time the filesystem entry was last modified
FSError | if there was a problem accessing the filesystem entry |
uid_t paludis::FSStat::owner | ( | ) | const |
Fetch our owner.
FSError | If we don't exist or the stat call fails. |
mode_t paludis::FSStat::permissions | ( | ) | const |
Return the permissions for our item.
FSError | if there was a problem accessing the filesystem entry |