FileType get_type() const { return type; }
bool is_regular() const { return type==REGULAR; }
bool is_directory() const { return type==DIRECTORY; }
FileType get_type() const { return type; }
bool is_regular() const { return type==REGULAR; }
bool is_directory() const { return type==DIRECTORY; }