\hypertarget{ql__file_8dox_8h_source}{}\doxysection{ql\+\_\+file.\+dox.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{5 }
\DoxyCodeLine{7 \textcolor{keyword}{struct }\mbox{\hyperlink{struct_qore_1_1_stat_info}{StatInfo}} \{}
\DoxyCodeLine{9     \mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} \mbox{\hyperlink{struct_qore_1_1_stat_info_afb1d4b0d7f687e33c58a0b3433fba313}{atime}};}
\DoxyCodeLine{11     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_abf38473311c4bcfd7eb15e1f2053aa5f}{blksize}};}
\DoxyCodeLine{13     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_affd611414ae7ca2e1379e79a3263b001}{blocks}};}
\DoxyCodeLine{15     \mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} \mbox{\hyperlink{struct_qore_1_1_stat_info_a1b956b5e923e6c9d00537872c770a430}{ctime}};}
\DoxyCodeLine{17     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_aeb7e5f7c536c1b8b3f6493073a246cc3}{dev}};}
\DoxyCodeLine{19     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_acc85072e4038105272c47656d431ea3a}{gid}};}
\DoxyCodeLine{21     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_a95aaa8d1c10093399bc79dd5cf8a3f05}{inode}};}
\DoxyCodeLine{23     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_af496211dc9a070a072582b6bc082be19}{mode}};}
\DoxyCodeLine{25     \mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} \mbox{\hyperlink{struct_qore_1_1_stat_info_a6115de9e4438d1681a1d68f911cf72ba}{mtime}};}
\DoxyCodeLine{27     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_a39e882057d9c19e28cd09fdf3b675f84}{nlink}};}
\DoxyCodeLine{29     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_stat_info_a659e8f8acc54be3dbf1273c0c4f12392}{perm}};}
\DoxyCodeLine{31     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_a45cae9cc8814b6853d7cc5ed5362ea58}{rdev}};}
\DoxyCodeLine{33     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_a5e52a8110fc4d969b59bd8fa7cde6b98}{size}};}
\DoxyCodeLine{35     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_stat_info_a18cf1386b9853803830938518642797d}{type}};}
\DoxyCodeLine{37     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_stat_info_a4326276309f6527e355b78caaa978b4b}{uid}};}
\DoxyCodeLine{38 \};}
\DoxyCodeLine{39 \}}
\DoxyCodeLine{40 }
\DoxyCodeLine{42 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{44 }
\DoxyCodeLine{46 \textcolor{keyword}{struct }\mbox{\hyperlink{struct_qore_1_1_filesystem_info}{FilesystemInfo}} \{}
\DoxyCodeLine{48     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a97e888561d7d2c9048038ffb5ddced64}{bavail}};}
\DoxyCodeLine{50     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a9ecbe28486dd8b6ad59f63debf7f4fd2}{bfree}};}
\DoxyCodeLine{52     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a3904e57990189af74f597257d3eb7561}{blocks}};}
\DoxyCodeLine{54     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a318f382c168d4740297645cd2c018413}{bsize}};}
\DoxyCodeLine{56     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a462664144643fa088efea24e962604ea}{favail}};}
\DoxyCodeLine{58     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a1c47999be5732f42dd040a6ca43227e7}{ffree}};}
\DoxyCodeLine{60     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a2be2f3f99ad1307949477f014b525419}{files}};}
\DoxyCodeLine{62     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_aa095f1224121277e52d1fe2a70cbbcdb}{frsize}};}
\DoxyCodeLine{64     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a301a392ba6da18dc71b44d5a8a9690c1}{fsid}};}
\DoxyCodeLine{66     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_filesystem_info_a42437c3ba335fa58c44f0cac41a9f172}{namemax}};}
\DoxyCodeLine{67 \};}
\DoxyCodeLine{68 \}}
\DoxyCodeLine{69 }
\DoxyCodeLine{71 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{155 }
\DoxyCodeLine{157 }
\DoxyCodeLine{175 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga59a85037788f39c5269f0aadbb499f90}{absolute\_path}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{176 }
\DoxyCodeLine{178 }
\DoxyCodeLine{196 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_gac13e5f3c1a03fbb5e6c60213a595795f}{absolute\_path\_unix}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{197 }
\DoxyCodeLine{199 }
\DoxyCodeLine{217 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga77456f40ff1734bb6d5692e6dbb9e8eb}{absolute\_path\_windows}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{218 }
\DoxyCodeLine{220 }
\DoxyCodeLine{235 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_gada7c93e7806a58bee29f2357039479e1}{chdir}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{236 }
\DoxyCodeLine{238 }
\DoxyCodeLine{252 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga1e5c4b6f766ada91769b932f77c33254}{chmod}}(\textcolor{keywordtype}{string} path, softint mode);}
\DoxyCodeLine{253 }
\DoxyCodeLine{255 }
\DoxyCodeLine{276 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga3c6e7029d5759c6cabfca1d7e3b27898}{chown}}(\textcolor{keywordtype}{string} path, softint owner = -\/1, softint group = -\/1);}
\DoxyCodeLine{277 }
\DoxyCodeLine{279 }
\DoxyCodeLine{294 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{group__filesystem__functions_ga891ce19bfbec289e7ef2a1e20d44ba4a}{getcwd}}();}
\DoxyCodeLine{295 }
\DoxyCodeLine{297 }
\DoxyCodeLine{310 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__filesystem__functions_ga2ea46565552ed8a0fb60752a10c43d59}{getcwd2}}();}
\DoxyCodeLine{311 }
\DoxyCodeLine{313 }
\DoxyCodeLine{327 \_\_7\_ list<string> \mbox{\hyperlink{group__filesystem__functions_ga2d74de13e8fb0f3bb690647818cd068a}{glob}}(\textcolor{keywordtype}{string} glob\_str);}
\DoxyCodeLine{328 }
\DoxyCodeLine{330 }
\DoxyCodeLine{337 nothing \mbox{\hyperlink{group__filesystem__functions_ga2d74de13e8fb0f3bb690647818cd068a}{glob}}();}
\DoxyCodeLine{338 }
\DoxyCodeLine{340 }
\DoxyCodeLine{358 \_\_7\_ hash<StatInfo> \mbox{\hyperlink{group__filesystem__functions_gabb441e137499385661b294f05e1b18fe}{hlstat}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{359 }
\DoxyCodeLine{361 }
\DoxyCodeLine{368 nothing \mbox{\hyperlink{group__filesystem__functions_gabb441e137499385661b294f05e1b18fe}{hlstat}}();}
\DoxyCodeLine{369 }
\DoxyCodeLine{371 }
\DoxyCodeLine{389 \_\_7\_ hash<StatInfo> \mbox{\hyperlink{group__filesystem__functions_gae2beafb85bdfb88495f1645605a96b0a}{hstat}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{390 }
\DoxyCodeLine{392 }
\DoxyCodeLine{399 nothing \mbox{\hyperlink{group__filesystem__functions_gae2beafb85bdfb88495f1645605a96b0a}{hstat}}();}
\DoxyCodeLine{400 }
\DoxyCodeLine{402 }
\DoxyCodeLine{417 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga139846d1deedb967e21af11e62799ea2}{is\_bdev}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{418 }
\DoxyCodeLine{420 }
\DoxyCodeLine{435 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga56ae16710a38109b7ed71010a5b3d9e5}{is\_cdev}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{436 }
\DoxyCodeLine{438 }
\DoxyCodeLine{453 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga594e6a60ad12517656d32a7262777b4d}{is\_dev}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{454 }
\DoxyCodeLine{456 }
\DoxyCodeLine{471 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga38348592b2e5aa5589e0399c10b260fd}{is\_dir}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{472 }
\DoxyCodeLine{474 }
\DoxyCodeLine{493 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga0255009acc4b2cb332fd3f9d2aae7c05}{is\_executable}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{494 }
\DoxyCodeLine{496 }
\DoxyCodeLine{511 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga6117e36222d08c197c2c0de1cadea715}{is\_file}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{512 }
\DoxyCodeLine{514 }
\DoxyCodeLine{533 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga55cb552f0c56f8ff6915ec7ad6ab3cd8}{is\_link}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{534 }
\DoxyCodeLine{536 }
\DoxyCodeLine{551 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga646f8b88054dbb2004e8f47ec09aa96e}{is\_pipe}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{552 }
\DoxyCodeLine{554 }
\DoxyCodeLine{569 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_gaf04a8a04f9130664f938cf7dc10dbaed}{is\_readable}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{570 }
\DoxyCodeLine{572 }
\DoxyCodeLine{591 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga568996f46411f4fa0daaaa4e61d20d44}{is\_socket}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{592 }
\DoxyCodeLine{594 }
\DoxyCodeLine{611 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_ga1f94b219bfc67a292a80cafcd2416ee5}{is\_writable}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{612 }
\DoxyCodeLine{614 }
\DoxyCodeLine{631 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__filesystem__functions_gaa7817f6649fdd56e82c65d9f62c8a707}{is\_writeable}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{632 }
\DoxyCodeLine{634 }
\DoxyCodeLine{655 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_gaa1536aa5f9d482dd449ad3e5f53a8507}{lchown}}(\textcolor{keywordtype}{string} path, softint uid = -\/1, softint gid = -\/1);}
\DoxyCodeLine{656 }
\DoxyCodeLine{658 }
\DoxyCodeLine{677 \_\_7\_ list<auto> \mbox{\hyperlink{group__filesystem__functions_ga0ac877d2d854200d4f7eed50e6a71cf5}{lstat}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{678 }
\DoxyCodeLine{680 }
\DoxyCodeLine{687 nothing \mbox{\hyperlink{group__filesystem__functions_ga0ac877d2d854200d4f7eed50e6a71cf5}{lstat}}();}
\DoxyCodeLine{688 }
\DoxyCodeLine{690 }
\DoxyCodeLine{715 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga834e1f95eb108bd6e4d564daecd68eda}{mkdir}}(\textcolor{keywordtype}{string} path, softint mode = 0777, \textcolor{keywordtype}{bool} parents = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{716 }
\DoxyCodeLine{718 }
\DoxyCodeLine{737 nothing \mbox{\hyperlink{group__filesystem__functions_ga93887c395ed9044e39a25046ab27f7b3}{mkdir\_ex}}(\textcolor{keywordtype}{string} path, softint mode = 0777, \textcolor{keywordtype}{bool} parents = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{738 }
\DoxyCodeLine{740 }
\DoxyCodeLine{758 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga637652709e0dd1c846475de2dcfc7d96}{mkfifo}}(\textcolor{keywordtype}{string} path, softint mode = 0600);}
\DoxyCodeLine{759 }
\DoxyCodeLine{761 }
\DoxyCodeLine{779 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__filesystem__functions_ga5de4265158222c7dc319c901943ee3a7}{readlink}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{780 }
\DoxyCodeLine{782 }
\DoxyCodeLine{798 \textcolor{keywordtype}{string} \mbox{\hyperlink{group__filesystem__functions_ga59c7b40bb68308943c26473b3536594d}{realpath}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{799 }
\DoxyCodeLine{801 }
\DoxyCodeLine{818 nothing \mbox{\hyperlink{group__filesystem__functions_ga4511dfd33a6baf40c66c91a4cbc9a5b4}{rename}}(\textcolor{keywordtype}{string} old\_path, \textcolor{keywordtype}{string} new\_path);}
\DoxyCodeLine{819 }
\DoxyCodeLine{821 }
\DoxyCodeLine{836 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga56d2abad877339557cdd3c04660e77e9}{rmdir}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{837 }
\DoxyCodeLine{839 }
\DoxyCodeLine{857 \_\_7\_ list<auto> \mbox{\hyperlink{group__filesystem__functions_gaff2c972124d3a61309d62b6394ab9896}{stat}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{858 }
\DoxyCodeLine{860 }
\DoxyCodeLine{867 nothing \mbox{\hyperlink{group__filesystem__functions_gaff2c972124d3a61309d62b6394ab9896}{stat}}();}
\DoxyCodeLine{868 }
\DoxyCodeLine{870 }
\DoxyCodeLine{888 \_\_7\_ hash<FilesystemInfo> \mbox{\hyperlink{group__filesystem__functions_ga85b344e9fcc98bd36fd18b5a0fe53d8c}{statvfs}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{889 }
\DoxyCodeLine{891 }
\DoxyCodeLine{913 nothing \mbox{\hyperlink{group__filesystem__functions_gae895213e0d9f207ab855e4546c791909}{symlink}}(\textcolor{keywordtype}{string} old\_path, \textcolor{keywordtype}{string} new\_path);}
\DoxyCodeLine{914 }
\DoxyCodeLine{916 }
\DoxyCodeLine{930 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga2061a066ab6e3c668849520e6c371d59}{umask}}(softint mask);}
\DoxyCodeLine{931 }
\DoxyCodeLine{933 }
\DoxyCodeLine{940 nothing \mbox{\hyperlink{group__filesystem__functions_ga2061a066ab6e3c668849520e6c371d59}{umask}}();}
\DoxyCodeLine{941 }
\DoxyCodeLine{943 }
\DoxyCodeLine{958 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__filesystem__functions_ga3e6fdb79f8eb0792ae20f1b86e695d1a}{unlink}}(\textcolor{keywordtype}{string} path);}
\DoxyCodeLine{959 }
\DoxyCodeLine{961 }
\DoxyCodeLine{968 nothing \mbox{\hyperlink{group__filesystem__functions_ga3e6fdb79f8eb0792ae20f1b86e695d1a}{unlink}}();}
\DoxyCodeLine{969 }
\DoxyCodeLine{971 \}}

\end{DoxyCode}
