refactor: move IOBase to io folder.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "data_format/io_base.h"
|
||||
#include "data_format/io/io_base.h"
|
||||
#include "data_format/type/bound_symbol.h"
|
||||
|
||||
namespace di::data_format {
|
||||
|
||||
13
src/data_format/io/io_base.h
Normal file
13
src/data_format/io/io_base.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
namespace di {
|
||||
|
||||
class IOBase {
|
||||
public:
|
||||
virtual ~IOBase() = default;
|
||||
|
||||
virtual void read(const fs::path& path) = 0;
|
||||
virtual void write(const fs::path& path) const = 0;
|
||||
};
|
||||
|
||||
} // namespace di
|
||||
@@ -1,13 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
namespace di::data_format {
|
||||
|
||||
class IOBase {
|
||||
public:
|
||||
virtual ~IOBase() = default;
|
||||
|
||||
virtual void read(const std::filesystem::path& path) = 0;
|
||||
virtual void write(const std::filesystem::path& path) const = 0;
|
||||
};
|
||||
|
||||
} // namespace di::data_format
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "data_format/io_base.h"
|
||||
#include "data_format/io/io_base.h"
|
||||
|
||||
namespace di::data_format {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "data_format/io_base.h"
|
||||
#include "data_format/io/io_base.h"
|
||||
|
||||
#include <llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "data_format/io_base.h"
|
||||
#include "data_format/io/io_base.h"
|
||||
|
||||
#include "data_format/type/decl_type.h"
|
||||
#include "data_format/type/typed_symbol.h"
|
||||
|
||||
Reference in New Issue
Block a user