summaryrefslogtreecommitdiffstats
path: root/source/core/slang-archive-file-system.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-09-29 14:12:15 -0400
committerGitHub <noreply@github.com>2022-09-29 14:12:15 -0400
commit9296405a2e15c07b5a8b7a002a2fa082232d559b (patch)
tree9dd7bff82645e04f1dc53fbff8f5e366bda49cb9 /source/core/slang-archive-file-system.h
parent8e0750fb193a8d2b9e8c3a0d81e367d6a9bdeb30 (diff)
Split out MemoryFileSystem (#2422)
* #include an absolute path didn't work - because paths were taken to always be relative. * Remove ref count for Entry in RiffFileSystem. Free up backing Entry types (to work around Dictionary not doing this). * Some small improvements to RiffFileSystem. * Add testing for file systems. * Split out MemoryFileSystem. * Add some documentation around different FileSystems. * Small tiry up - removing unused headers, fixing some comments. Use StringBlob::moveCreate where appropriate. * Small improvement to MemoryFileSystem. Improve documentation comments a little.
Diffstat (limited to 'source/core/slang-archive-file-system.h')
-rw-r--r--source/core/slang-archive-file-system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/core/slang-archive-file-system.h b/source/core/slang-archive-file-system.h
index 03571bdc1..678791245 100644
--- a/source/core/slang-archive-file-system.h
+++ b/source/core/slang-archive-file-system.h
@@ -26,12 +26,6 @@ class IArchiveFileSystem : public ISlangCastable
SLANG_NO_THROW virtual void SLANG_MCALL setCompressionStyle(const CompressionStyle& style) = 0;
};
-class ArchiveFileSystem : public ISlangMutableFileSystem, public ComBaseObject
-{
-public:
-
-};
-
/* Maps an UnownedStringSlice to an index. All substrings are held internally in a StringSlicePool, and so
owned by the type. */
class StringSliceIndexMap
@@ -96,7 +90,6 @@ KeyValuePair<UnownedStringSlice, Index> StringSliceIndexMap::getAt(CountIndex co
return pair;
}
-
/* This class helps to find the contents and/or existence of an implicit directory.This finds the contents of a directory.
This is achieved by using a path prefix that any contained path must at least match. If the remainder of the path contains a folder
@@ -152,7 +145,6 @@ public:
bool m_directoryExists;
};
-
SlangResult loadArchiveFileSystem(const void* data, size_t dataSizeInBytes, ComPtr<ISlangFileSystemExt>& outFileSystem);
SlangResult createArchiveFileSystem(SlangArchiveType type, ComPtr<ISlangMutableFileSystem>& outFileSystem);