From 0b51ea6bb54b1d8a12695ccc2c259fd591069791 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 3 Oct 2022 21:09:16 -0400 Subject: IMutableFileSystem::saveFileBlob (#2427) * #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. * Added PathKind * * Make MemoryFileSystem not have implicit directories * Make RelativeFileSystem only allow access to files in file system (kind of like chroot) * Added Path::simplifyAbsolute * Special handling for root of MemoryFileSystem * Improvements around paths for different impls * More improvements around RelativeFileSystem. Special case root handling. * Test archive serialization. Move testinf from compression. Remove the implicit directory test -> doesn't work on all file systems. * Small optimization that removes need for check for a parent unless an item is being *created*. * Add implicit path testing. * Add support for saveFileBlob Add testing for saveFileBlob * Removed TemporaryFileSet Added PlatformUtil::outputDebugMessage * Some small improvements around RelativeFileSystem. * Split out ImplicitDirectoryCollector so can use without requiring compression systems. * Split out StringSliceIndexMap into own files. --- build/visual-studio/core/core.vcxproj | 4 ++++ build/visual-studio/core/core.vcxproj.filters | 12 ++++++++++++ 2 files changed, 16 insertions(+) (limited to 'build/visual-studio/core') diff --git a/build/visual-studio/core/core.vcxproj b/build/visual-studio/core/core.vcxproj index 6311e4b8b..a49ccd040 100644 --- a/build/visual-studio/core/core.vcxproj +++ b/build/visual-studio/core/core.vcxproj @@ -277,6 +277,7 @@ + @@ -305,6 +306,7 @@ + @@ -333,6 +335,7 @@ + @@ -353,6 +356,7 @@ + diff --git a/build/visual-studio/core/core.vcxproj.filters b/build/visual-studio/core/core.vcxproj.filters index bf553e327..9266db917 100644 --- a/build/visual-studio/core/core.vcxproj.filters +++ b/build/visual-studio/core/core.vcxproj.filters @@ -90,6 +90,9 @@ Header Files + + Header Files + Header Files @@ -174,6 +177,9 @@ Header Files + + Header Files + Header Files @@ -254,6 +260,9 @@ Source Files + + Source Files + Source Files @@ -314,6 +323,9 @@ Source Files + + Source Files + Source Files -- cgit v1.2.3