\hypertarget{_q_c___dir_8dox_8h_source}{}\doxysection{QC\+\_\+\+Dir.\+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_dir_stat_info}{DirStatInfo}} \{}
\DoxyCodeLine{9     \mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a934569a03e5b9ea303d9fee1bab8e31f}{atime}};}
\DoxyCodeLine{11     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a6e71829c80205f92980aaec1ed0ac8b5}{blksize}};}
\DoxyCodeLine{13     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a073d05ea91c59cd933a1cadda4c80989}{blocks}};}
\DoxyCodeLine{15     \mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a80cdf68006d2665811880e3dff6a410c}{ctime}};}
\DoxyCodeLine{17     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_acc4275d0cfd95db7c25db6001f8469ac}{dev}};}
\DoxyCodeLine{19     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a05c5f09df448a4ef10d21c83f959787b}{gid}};}
\DoxyCodeLine{21     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a6613f7693e56d91213e708550a6abee9}{inode}};}
\DoxyCodeLine{23     *\textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_ac6698705aac156d7e0da7c282fb5c646}{link}};}
\DoxyCodeLine{25     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a7e652b50d31968e015b0774b65953ede}{mode}};}
\DoxyCodeLine{27     \mbox{\hyperlink{group__date__and__time__functions_ga1bd6722e7ca0b4332f0f30aaaa989b08}{date}} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a1d0e5d52d4bf8a707cde5ae237195ec2}{mtime}};}
\DoxyCodeLine{29     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a7c82f1686ba8fae65627e10203584a5e}{name}};}
\DoxyCodeLine{31     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a79cbaee20df8ec86c4f62a72c7cc4446}{nlink}};}
\DoxyCodeLine{33     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a5b74c9c03bb764508680427e9c2044bf}{perm}};}
\DoxyCodeLine{35     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a2e7efb162e56a73b038096e933b7897f}{rdev}};}
\DoxyCodeLine{37     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a5a57fd14903afd0471c5cd0d95628439}{size}};}
\DoxyCodeLine{39     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_a0cdf5dc6f82d812af5c1ef413b5d408a}{type}};}
\DoxyCodeLine{41     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_dir_stat_info_acc439a437f7ffba94e2a8dc6155511cb}{uid}};}
\DoxyCodeLine{42 \};}
\DoxyCodeLine{43 \}}
\DoxyCodeLine{44 }
\DoxyCodeLine{46 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{48 }
\DoxyCodeLine{57 \textcolor{keyword}{class }\mbox{\hyperlink{class_qore_1_1_dir}{Dir}} \{}
\DoxyCodeLine{58 }
\DoxyCodeLine{59 \textcolor{keyword}{public}:}
\DoxyCodeLine{61 }
\DoxyCodeLine{78 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_dir_a636f28d93d03ba82553b53d57c8c6978}{chdir}}(\textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_dir_ab732cb0fca5e4d8f297bd70f1f5c141d}{path}});}
\DoxyCodeLine{79 }
\DoxyCodeLine{80 \textcolor{keyword}{public}:}
\DoxyCodeLine{82 }
\DoxyCodeLine{99 nothing \mbox{\hyperlink{class_qore_1_1_dir_a2d7d2c165f79c44a32e3070bf72ab738}{chgrp}}(\textcolor{keywordtype}{int} gid);}
\DoxyCodeLine{100 }
\DoxyCodeLine{101 \textcolor{keyword}{public}:}
\DoxyCodeLine{103 }
\DoxyCodeLine{121 nothing \mbox{\hyperlink{class_qore_1_1_dir_ac74826b6a80ff676c416cd3952f19cf0}{chgrp}}(\textcolor{keywordtype}{string} groupname);}
\DoxyCodeLine{122 }
\DoxyCodeLine{123 \textcolor{keyword}{public}:}
\DoxyCodeLine{125 }
\DoxyCodeLine{139 nothing \mbox{\hyperlink{class_qore_1_1_dir_abe1d5f94d8397ed73190c724dbddfc6a}{chmod}}(softint mode);}
\DoxyCodeLine{140 }
\DoxyCodeLine{141 \textcolor{keyword}{public}:}
\DoxyCodeLine{143 }
\DoxyCodeLine{160 nothing \mbox{\hyperlink{class_qore_1_1_dir_a988c79eaccbcce08aa6c01f1484be269}{chown}}(\textcolor{keywordtype}{int} uid);}
\DoxyCodeLine{161 }
\DoxyCodeLine{162 \textcolor{keyword}{public}:}
\DoxyCodeLine{164 }
\DoxyCodeLine{182 nothing \mbox{\hyperlink{class_qore_1_1_dir_a0e2c563864f858fba878a06f7500e3c8}{chown}}(\textcolor{keywordtype}{string} username);}
\DoxyCodeLine{183 }
\DoxyCodeLine{184 \textcolor{keyword}{public}:}
\DoxyCodeLine{186 }
\DoxyCodeLine{195  \mbox{\hyperlink{class_qore_1_1_dir_a860319e60133b9a45b4c342810c3b228}{constructor}}(\_\_7\_ \textcolor{keywordtype}{string} encoding);}
\DoxyCodeLine{196 }
\DoxyCodeLine{197 \textcolor{keyword}{public}:}
\DoxyCodeLine{199 }
\DoxyCodeLine{204  \mbox{\hyperlink{class_qore_1_1_dir_aed446bcffd8d04f98811513ef3f430f0}{copy}}();}
\DoxyCodeLine{205 }
\DoxyCodeLine{206 \textcolor{keyword}{public}:}
\DoxyCodeLine{208 }
\DoxyCodeLine{226 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_dir_a9e9f05c88ac58cdbf027f8f4d8bcdc40}{create}}(softint mode = 0777);}
\DoxyCodeLine{227 }
\DoxyCodeLine{228 \textcolor{keyword}{public}:}
\DoxyCodeLine{230 }
\DoxyCodeLine{238 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_dir_a668096fd0b362cf2882a4e7c50b41118}{exists}}();}
\DoxyCodeLine{239 }
\DoxyCodeLine{240 \textcolor{keyword}{public}:}
\DoxyCodeLine{242 }
\DoxyCodeLine{258 hash<StatInfo> \mbox{\hyperlink{class_qore_1_1_dir_ab2ce53e16b1b2eb0d9ebd58fa3390fda}{hstat}}();}
\DoxyCodeLine{259 }
\DoxyCodeLine{260 \textcolor{keyword}{public}:}
\DoxyCodeLine{262 }
\DoxyCodeLine{282 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_a97250fb0ce462e70d8bc81ca4228d9ab}{list}}(\textcolor{keywordtype}{bool} full = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{283 }
\DoxyCodeLine{284 \textcolor{keyword}{public}:}
\DoxyCodeLine{286 }
\DoxyCodeLine{312 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_a913c94307c40f8e3961c1eb58aac0bee}{list}}(\textcolor{keywordtype}{string} \mbox{\hyperlink{group__string__functions_gab17427299ed00ee52d90beadc55ba608}{regex}}, softint regex\_options = 0, softbool full = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{313 }
\DoxyCodeLine{314 \textcolor{keyword}{public}:}
\DoxyCodeLine{316 }
\DoxyCodeLine{338 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_ad763dde419120489d4946ce95988ff10}{listDirs}}(\textcolor{keywordtype}{bool} full = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{339 }
\DoxyCodeLine{340 \textcolor{keyword}{public}:}
\DoxyCodeLine{342 }
\DoxyCodeLine{368 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_a691b08165a76ef55473e262673c55ff4}{listDirs}}(\textcolor{keywordtype}{string} \mbox{\hyperlink{group__string__functions_gab17427299ed00ee52d90beadc55ba608}{regex}}, softint regex\_options = 0, softbool full = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{369 }
\DoxyCodeLine{370 \textcolor{keyword}{public}:}
\DoxyCodeLine{372 }
\DoxyCodeLine{394 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_a4663ec9519c97b1dcced1c8684b9e2c9}{listFiles}}(\textcolor{keywordtype}{bool} full = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{395 }
\DoxyCodeLine{396 \textcolor{keyword}{public}:}
\DoxyCodeLine{398 }
\DoxyCodeLine{424 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_a202e6dda1c75f0034ecd58b49348d9e9}{listFiles}}(\textcolor{keywordtype}{string} \mbox{\hyperlink{group__string__functions_gab17427299ed00ee52d90beadc55ba608}{regex}}, softint regex\_options = 0, softbool full = \mbox{\hyperlink{group__boolean__constants_ga9da2b9a8003cd3788e48305f8a00540f}{False}});}
\DoxyCodeLine{425 }
\DoxyCodeLine{426 \textcolor{keyword}{public}:}
\DoxyCodeLine{428 }
\DoxyCodeLine{443 nothing \mbox{\hyperlink{class_qore_1_1_dir_adfeb093180181e6f4df3dad56e0101d9}{mkdir}}(\textcolor{keywordtype}{string} subdir, softint mode = 0777);}
\DoxyCodeLine{444 }
\DoxyCodeLine{445 \textcolor{keyword}{public}:}
\DoxyCodeLine{447 }
\DoxyCodeLine{459 \mbox{\hyperlink{class_qore_1_1_dir}{Dir}} \mbox{\hyperlink{class_qore_1_1_dir_a3f85f9096e3fcc143e738982e5594ac2}{openDir}}(\textcolor{keywordtype}{string} subdir, \_\_7\_ \textcolor{keywordtype}{string} encoding);}
\DoxyCodeLine{460 }
\DoxyCodeLine{461 \textcolor{keyword}{public}:}
\DoxyCodeLine{463 }
\DoxyCodeLine{480 \mbox{\hyperlink{class_qore_1_1_file}{File}} \mbox{\hyperlink{class_qore_1_1_dir_a11575c0b4bc1d08c423af79b3be908d6}{openFile}}(\textcolor{keywordtype}{string} filename, \textcolor{keywordtype}{int} flags = \mbox{\hyperlink{group__file__open__constants_ga1ab351549a0b39d1492dc0a48d199f64}{O\_RDONLY}}, \textcolor{keywordtype}{int} mode = 0666, \_\_7\_ \textcolor{keywordtype}{string} encoding);}
\DoxyCodeLine{481 }
\DoxyCodeLine{482 \textcolor{keyword}{public}:}
\DoxyCodeLine{484 }
\DoxyCodeLine{493 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_dir_ab732cb0fca5e4d8f297bd70f1f5c141d}{path}}();}
\DoxyCodeLine{494 }
\DoxyCodeLine{495 \textcolor{keyword}{public}:}
\DoxyCodeLine{497 }
\DoxyCodeLine{515 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_dir_a39555d1901ed0f7d0084803291e2afac}{removeFile}}(\textcolor{keywordtype}{string} file);}
\DoxyCodeLine{516 }
\DoxyCodeLine{517 \textcolor{keyword}{public}:}
\DoxyCodeLine{519 }
\DoxyCodeLine{535 nothing \mbox{\hyperlink{class_qore_1_1_dir_a3bccdd964feba716bd0fd16347db1bb2}{rmdir}}(\textcolor{keywordtype}{string} subdir);}
\DoxyCodeLine{536 }
\DoxyCodeLine{537 \textcolor{keyword}{public}:}
\DoxyCodeLine{539 }
\DoxyCodeLine{555 list<auto> \mbox{\hyperlink{class_qore_1_1_dir_a11b931a16c7f38c2d84b346407cd0b3d}{stat}}();}
\DoxyCodeLine{556 }
\DoxyCodeLine{557 \textcolor{keyword}{public}:}
\DoxyCodeLine{559 }
\DoxyCodeLine{576 hash<FilesystemInfo> \mbox{\hyperlink{class_qore_1_1_dir_a5590f1b597ef9388cf178fd43ae03200}{statvfs}}();}
\DoxyCodeLine{577 \};}
\DoxyCodeLine{578 \}}

\end{DoxyCode}
