[VFS] Make ResolvePath / Dump virtual
This commit is contained in:
@@ -26,6 +26,8 @@ class HostPathDevice : public Device {
|
||||
~HostPathDevice() override;
|
||||
|
||||
bool Initialize() override;
|
||||
void Dump(StringBuffer* string_buffer) override;
|
||||
Entry* ResolvePath(std::string path) override;
|
||||
|
||||
bool is_read_only() const override { return read_only_; }
|
||||
|
||||
@@ -38,6 +40,7 @@ class HostPathDevice : public Device {
|
||||
void PopulateEntry(HostPathEntry* parent_entry);
|
||||
|
||||
std::wstring local_path_;
|
||||
std::unique_ptr<Entry> root_entry_;
|
||||
bool read_only_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user