 |
Qore Programming Language Reference Manual
0.9.10
|
175 bool absolute_path(
string path);
196 bool absolute_path_unix(
string path);
217 bool absolute_path_windows(
string path);
235 int chdir(
string path);
252 int chmod(
string path, softint mode);
276 int chown(
string path, softint owner = -1, softint group = -1);
327 *list<string> glob(
string glob_str);
358 *hash<StatInfo> hlstat(
string path);
389 *hash<StatInfo> hstat(
string path);
417 bool is_bdev(
string path);
435 bool is_cdev(
string path);
453 bool is_dev(
string path);
471 bool is_dir(
string path);
493 bool is_executable(
string path);
511 bool is_file(
string path);
533 bool is_link(
string path);
551 bool is_pipe(
string path);
569 bool is_readable(
string path);
591 bool is_socket(
string path);
611 bool is_writable(
string path);
631 bool is_writeable(
string path);
655 int lchown(
string path, softint uid = -1, softint gid = -1);
677 *list<auto> lstat(
string path);
715 int mkdir(
string path, softint mode = 0777,
bool parents =
False);
737 nothing mkdir_ex(
string path, softint mode = 0777,
bool parents =
False);
758 int mkfifo(
string path, softint mode = 0600);
779 string readlink(
string path);
798 string realpath(
string path);
818 nothing rename(
string old_path,
string new_path);
836 int rmdir(
string path);
857 *list<auto> stat(
string path);
888 *hash<FilesystemInfo> statvfs(
string path);
913 nothing symlink(
string old_path,
string new_path);
929 int umask(softint mask);
957 int unlink(
string path);
int inode
inode of the file
Definition: ql_file.dox.h:21
date ctime
last change time of the file's inode
Definition: ql_file.dox.h:15
int fsid
The filesystem ID; may not be set or meaningful on all filesystems/systems: see system documentation ...
Definition: ql_file.dox.h:64
date mtime
last modified time of the file
Definition: ql_file.dox.h:25
int namemax
The maximum length in bytes of file names on the filesystem.
Definition: ql_file.dox.h:66
int frsize
The size in bytes of the minimum allocation unit on the filesystem.
Definition: ql_file.dox.h:62
date atime
last access time of the file
Definition: ql_file.dox.h:9
int ffree
The total number of free inodes available to privileged users.
Definition: ql_file.dox.h:58
int favail
The number of free inodes available to unprivileged users.
Definition: ql_file.dox.h:56
file status information hash as returned from hstat(), hlstat(), Dir::hstat(), FileLineIterator::hsta...
Definition: ql_file.dox.h:7
int files
The total number of inodes on the filesystem.
Definition: ql_file.dox.h:60
int size
file size in bytes
Definition: ql_file.dox.h:33
Filesystem info hash as returned by statvfs, Dir::statvfs, and ReadOnlyFile::statvfs()".
Definition: ql_file.dox.h:46
int bfree
The total number of free indes available to privileged users (bytes = bsize * bfree)
Definition: ql_file.dox.h:50
int mode
inode protection mode
Definition: ql_file.dox.h:23
int uid
user ID of the owner
Definition: ql_file.dox.h:37
int blocks
blocks allocated for the file; may be zero if the platform's internal stat() (2) function does not pr...
Definition: ql_file.dox.h:13
int rdev
device type number
Definition: ql_file.dox.h:31
int nlink
number of hard links to this file
Definition: ql_file.dox.h:27
const False
logical False
Definition: qc_qore.dox.h:96
string type
a string giving the file type; one of: - "BLOCK-DEVICE" - "DIRECTORY" - "CHARACTER-DEVICE" - "...
Definition: ql_file.dox.h:35
int blocks
The total number of blocks on the filesystem (capacity in bytes = bsize * blocks)
Definition: ql_file.dox.h:52
date date(date dt)
Returns the date passed.
int bsize
The filesystem's block size.
Definition: ql_file.dox.h:54
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
int bavail
The number of free blocks available to unprivileged users (bytes = bsize * bavail)
Definition: ql_file.dox.h:48
int gid
group ID of the owner
Definition: ql_file.dox.h:19
int dev
device inode number the file is on
Definition: ql_file.dox.h:17
string perm
a string giving UNIX-style permissions for the file (ex: "-rwxr-xr-x")
Definition: ql_file.dox.h:29
int blksize
block size; may be zero if the platform's internal stat() (2) function does not provide this info
Definition: ql_file.dox.h:11