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);
void set_filetype(filetype)
zorba::File::FileSize_t file_size_t
bool is_volume(bool follow_symlinks=true) const
bool is_file(bool follow_symlinks=true) const
bool is_directory(bool follow_symlinks=true) const
file_size_t get_size() const
void set_path(std::string const &_path)
bool exists(bool follow_symlinks=true) const
filetype get_filetype(bool follow_symlinks=true) const