Test namaespace

main
anulax1225 ago%!(EXTRA string=1 year)
parent e0b773c6a7
commit 08a7de3e24
  1. 2
      src/bakatools/file_system/dir_entry.cpp
  2. 2
      src/bakatools/file_system/dir_entry.h

@ -1,7 +1,6 @@
#include "dir_entry.h" #include "dir_entry.h"
namespace Bk { namespace Bk {
namespace Tools {
std::string DirEntry::path() std::string DirEntry::path()
{ {
return ent.path().string(); return ent.path().string();
@ -81,4 +80,3 @@ namespace Bk {
return false; return false;
} }
} }
}

@ -6,7 +6,6 @@
#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 {
namespace Tools {
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;
@ -52,4 +51,3 @@ namespace Bk {
std::filesystem::directory_entry ent; std::filesystem::directory_entry ent;
}; };
} }
}
Loading…
Cancel
Save