From a25d79cfaad99e7659a8123d41dc0969e854259b Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Tue, 2 Oct 2018 20:04:31 -0400 Subject: 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. --- src/core/file_sys/partition_filesystem.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/file_sys/partition_filesystem.h') 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 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 pfs_files; - std::vector pfs_dirs; }; } // namespace FileSys -- cgit v1.2.3