Qore Programming Language Reference Manual  1.8.0
Qore::DirStatInfo hashdecl Reference

file status information hash as returned by Dir::list(), Dir::listFiles(), and Dir::listDirs() if the appropriate arguments are used More...

Public Attributes

date atime
 last access time of the file
 
int blksize
 block size; may be zero if the platform's internal stat() (2) function does not provide this info
 
int blocks
 blocks allocated for the file; may be zero if the platform's internal stat() (2) function does not provide this info
 
date ctime
 last change time of the file's inode
 
int dev
 device inode number the file is on
 
int gid
 group ID of the owner
 
int inode
 inode of the file
 
*string link
 symbolic link target (if present)
 
int mode
 inode protection mode
 
date mtime
 last modified time of the file
 
string name
 a string giving the file or directory name
 
int nlink
 number of hard links to this file
 
string perm
 a string giving UNIX-style permissions for the file (ex: "-rwxr-xr-x")
 
int rdev
 device type number
 
int size
 file size in bytes
 
string type
 a string giving the file type; one of:
- "BLOCK-DEVICE"
- "DIRECTORY"
- "CHARACTER-DEVICE"
- "FIFO"
- "SYMBOLIC-LINK"
- "SOCKET"
- "REGULAR"
- "UNKNOWN"
 
int uid
 user ID of the owner
 

Detailed Description

file status information hash as returned by Dir::list(), Dir::listFiles(), and Dir::listDirs() if the appropriate arguments are used

Since
Qore 0.8.13