29 #include <zorba/config.h>
62 return do_stat( follow_symlinks );
66 return do_stat( follow_symlinks ) == type_directory;
69 bool is_file(
bool follow_symlinks =
true )
const {
70 return do_stat( follow_symlinks ) == type_file;
74 return do_stat(
false ) == type_link;
77 bool is_volume(
bool follow_symlinks =
true )
const {
78 return do_stat( follow_symlinks ) == type_volume;
85 bool exists(
bool follow_symlinks =
true )
const {
86 return do_stat( follow_symlinks ) != type_non_existent;
89 time_t lastModified()
const;
93 void remove(
bool ignore =
true);
94 void rename(std::string
const& newpath);
98 do_stat(
true, &size );
105 void rmdir(
bool ignore =
true);
106 void lsdir(std::vector<std::string> &list);