All Classes Namespaces Functions Variables Groups Pages
QC_Dir.dox.h
namespace Qore {
class Dir {
public:
bool chdir(string path);
public:
nothing chgrp(int gid);
public:
nothing chgrp(string groupname);
public:
nothing chmod(softint mode);
public:
nothing chown(int uid);
public:
nothing chown(string username);
public:
constructor(*string encoding);
public:
copy();
public:
int create(softint mode = 0777);
public:
bool exists();
public:
hash hstat();
public:
list list();
public:
list list(string regex, softint regex_options = 0);
public:
list listDirs();
public:
list listDirs(string regex, softint regex_options = 0);
public:
list listFiles();
public:
list listFiles(string regex, softint regex_options = 0);
public:
nothing mkdir(string subdir, softint mode = 0777);
public:
Dir openDir(string subdir, *string encoding);
public:
File openFile(string filename, int flags = O_RDONLY, int mode = 0666, *string encoding);
public:
*string path();
public:
bool removeFile(string file);
public:
nothing rmdir(string subdir);
public:
list stat();
public:
hash statvfs();
};
};