aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/partition_filesystem.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-02 20:04:31 -0400
committerZach Hilman <zachhilman@gmail.com>2018-10-19 14:02:07 -0400
commita25d79cfaad99e7659a8123d41dc0969e854259b (patch)
treeca5adf2b2f4e944099cbe672c0819d841294d64d /src/core/file_sys/partition_filesystem.h
parent12401a0d8774ab73d1195507a12d777a81b97029 (diff)
vfs: Remove InterpretAsDirectory and related functions
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
Diffstat (limited to 'src/core/file_sys/partition_filesystem.h')
-rw-r--r--src/core/file_sys/partition_filesystem.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/file_sys/partition_filesystem.h b/src/core/file_sys/partition_filesystem.h
index 739c63a7f..248fdfdeb 100644
--- a/src/core/file_sys/partition_filesystem.h
+++ b/src/core/file_sys/partition_filesystem.h
@@ -35,9 +35,6 @@ public:
std::shared_ptr<VfsDirectory> GetParentDirectory() const override;
void PrintDebugInfo() const;
-protected:
- bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override;
-
private:
struct Header {
u32_le magic;
@@ -84,7 +81,6 @@ private:
std::size_t content_offset = 0;
std::vector<VirtualFile> pfs_files;
- std::vector<VirtualDir> pfs_dirs;
};
} // namespace FileSys