8 Commits

Author SHA1 Message Date
Jason McNew
cf22d78101
Avoid copying uncompressed file data to large byte[] arrays (#1954)
* Avoid copying uncompressed bundle files to large byte[].

* Move dependency check logic to SmartStream, and copy if not compatible.

Style cleanups per feedback.

* Tie the original FileStream lifecycle to any surviving partials.

* Ensure FileStream isn't finalized while we're calling Dispose() on it.

* Hold a ref to FIleStream and let the finalizer close it.

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* Cache FileStream.SafeFileHandle getter to avoid unnecessary Seek().

See OSFileStreamStrategy.cs.

---------

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>
2025-10-05 03:49:57 -07:00
ds5678
9793a943a6 Redirect references from TemporaryFileStorage to LocalFileSystem
Related: #1581
2025-09-21 00:06:50 -07:00
Jeremy Pritts
85172b7393
File system improvements (#1936)
* WIP file system improvements

* Switch to a hierarchial virtual file system

* EnumerateFiles and EnumerateDirectories

* Change import code to use FileSystem

* Use FileSystem when loading assemblies

* Use FileSystem in MonoManager initialization

* Remove set method for PlatformGameStructure::RootPath

* Renaming cleanup
2025-09-13 15:17:41 -07:00
ds5678
7b1c20c1f3 File scoped namespaces 2025-06-23 11:42:47 -07:00
ds5678
4c6c28e88b Refactoring
* Use preview language version
* Apply various code fixers
* Remove TypeTreeHelper
* Remove unused properties from IExportContainer
2025-04-29 11:31:02 -07:00
ds5678
1b4ece2b2d Rework creation of temporary files and directories
* Temporary folder under AssetRipper is unique to allow multiple instances.
* SmartStream now uses this folder too
2024-05-25 13:46:30 -07:00
Jeremy Pritts
4a74c87e1d Explicit Usings 2023-04-23 12:23:59 -04:00
Jeremy Pritts
6e45e71f3c Move projects into a subfolder 2023-01-14 11:31:39 -05:00