5 #ifndef CMR_DIRECTORY_INCLUDED
6 #define CMR_DIRECTORY_INCLUDED
82 int get_files(
ListPath& files,
bool rec =
false)
const;
89 int get_files(
ListPath& files,
const AString& pattern,
bool rec =
false)
const;
90 int get_files(
ListPath& files,
const AChar* pattern,
bool rec =
false)
const;
103 int get_directories(
ListDirectory& dirs,
bool rec =
false)
const;
109 bool force_remove()
const;
115 bool force_empty()
const;
122 int delete_files(
const AChar* pattern,
bool rec =
false)
const;
128 bool move_to(
const AChar* dest)
const;
135 bool create(
bool all_access)
const;
152 bool down(
const AString& name);
163 void set_full_path();
168 void set_current_dir();
175 void set_temp_path(
bool subdir =
false);
187 static bool force_remove(
const AString& path);
188 static bool force_empty(
const AString& path);
189 static bool create(
const AString& path);
190 static bool exists(
const AString& path);
195 static const char DIR_SEP;
196 static const char*
const SDIR_SEP;
199 static bool MatchFileName(
const char* pattern,
const char* fileName);
Definition: Directory.h:58
Definition: Directory.h:16