st_dev - The device id |
st_ino - The inode |
st_mode - The files protection modes |
st_nlink - The number of hardlinks |
st_uid - The user id of the owner |
st_gid - The group id of owner |
st_rdev - The device type |
st_size - The total size in bytes |
st_blksize - The blocksize for filesystem I/O |
st_blocks - The number of blocks allocated |
st_atime - The time of last access |
st_mtime - The time of the last modification |
st_ctime - The time of the last change |
Stat() - The constructor |
isDirectory() - Check to see if the file is a directory |
isCharDevice() - Check to see if the file is a character device |
isRegularFile() - Check to see if the file is a regular file |
isBlockDevice() - Check to see if the file is a block device |
isFifo() - Check to see if the file is a fifo |
isLink() - Check to see if the file is a link |
isSocket() - Check to see if the file is a socket |
isSticky() - Check to see if the file has the sticky bit set in it's modes |
isSuid() - Check to see if the file has the suid bit set in it's modes |
isSgid() - Check to see if the file has the sgid bit set in it's modes |
getSize() - Get the size of the file |
getInode() - Get the inode the file is attached to |
getOwnerID() - Get the id of the owner |
getGroupID() - Get the id of the group |
getAccessTime() - Get the time when the file was last accessed |
getChangedTime() - Get the time when the file was last changed |
getModifiedTime() - Get the time when the file was last modified |
getBlockSize() - Get the blocksize for filesystem I/O |
getBlockCount() - Get the number of allocated blocks for the file |
getLinkCount() - Get the number of hardlinks to the file |