Modified dir-entry

main
anulax1225 ago%!(EXTRA string=1 year)
parent 0a7c4a4159
commit 0380478069
  1. 2
      src/bakatools/file_system/dir_entry.cpp
  2. 3
      src/bakatools/file_system/dir_entry.h

@ -3,7 +3,7 @@
namespace Bk { namespace Bk {
std::string DirEntry::path() std::string DirEntry::path()
{ {
return ent.path().string(); return this->ent.path().string();
} }
std::string DirEntry::absolute_path() std::string DirEntry::absolute_path()

@ -5,8 +5,7 @@
#define BK_DIR_ENTRY_TYPE(type) const char* type_name() override { return BK_STRINGIFY(type); }\ #define BK_DIR_ENTRY_TYPE(type) const char* type_name() override { return BK_STRINGIFY(type); }\
static FileType get_type() { return FileType::type; }\ static FileType get_type() { return FileType::type; }\
namespace Bk namespace Bk {
{
using FileType = std::filesystem::file_type; using FileType = std::filesystem::file_type;
using FilePerms = std::filesystem::perms; using FilePerms = std::filesystem::perms;
using FileStatus = std::filesystem::file_status; using FileStatus = std::filesystem::file_status;

Loading…
Cancel
Save