Timothy Baldridge
9ade449985
Make all delete operations async
2020-05-26 05:31:11 -06:00
Timothy Baldridge
191f321dc2
VirtualFile
now useses Async IO exclusively
2020-05-25 10:30:47 -06:00
Timothy Baldridge
bb9ef89dee
BSA archives are now lazily extracted.
...
7Zip extracted archives now only extract the fewest files required.
Audited the uses of .Wait
Lazily init the VFS cleaning
2020-04-16 21:52:19 -06:00
Justin Swanson
24ef0a74a5
VirtualFileSystemTests utilize xUnit IAsyncLifetime
2020-04-11 14:00:52 -05:00
Timothy Baldridge
3f8f83e027
Update VirtualFileSystemTests.cs
2020-04-10 22:22:10 -06:00
Justin Swanson
69f18f2e22
Context.Stage's return action swapped to Func<Task>
...
So that its internal delete directory call can be awaited
2020-04-10 14:44:36 -05:00
Justin Swanson
f8d692afd0
Added async factory to VFSTests, so deletion can be awaited
2020-04-10 14:35:47 -05:00
Justin Swanson
165b857709
WabbajackTest.TestUtils calls await on directory deletion
2020-04-10 14:33:09 -05:00
Timothy Baldridge
72d77bef1a
VFS Tests pass
2020-04-03 16:37:28 -06:00
Timothy Baldridge
2b45210159
One test passes
2020-04-03 16:37:28 -06:00
Timothy Baldridge
a2cf84de54
A few test fixes
2020-04-03 16:37:27 -06:00
Timothy Baldridge
ccaaab318c
VFS tests compile
2020-04-03 16:37:27 -06:00
Timothy Baldridge
80195b5620
WIP, VFS compiles, need to work on VFS tests
2020-04-03 16:37:27 -06:00
Timothy Baldridge
3b895f4dbb
WIP, converted Hashes to a Hash struct
2020-04-03 16:37:27 -06:00
Justin Swanson
729b5128da
Random .Results swapped to async
2019-12-07 00:40:29 -06:00
Justin Swanson
e9deda9f44
Large swap to make WorkQueue able to take Task work items
2019-12-06 22:47:49 -06:00
Timothy Baldridge
f67a235274
Logs and exceptions as classes
2019-12-04 16:17:02 -07:00
Timothy Baldridge
2afcb83456
Switch directory deleting back to use a shell process. It's the only 100% reliable method I've found.
2019-11-23 10:37:24 -07:00
Timothy Baldridge
baab601f09
Rework Work queue to be non-static
2019-11-16 21:16:42 -07:00
Timothy Baldridge
11cd96693a
Compiles, working through the tests
2019-11-15 17:01:37 -07:00
Timothy Baldridge
f6a27ac094
Much simpler integration
2019-11-15 06:06:34 -07:00
Timothy Baldridge
133fa2febd
Async VFS Implementation ( #171 )
...
* New VFS implementation can load/save/analyze files. All in a immutable, lock free (mostly) async parallel manner.
* VFS indexing is complete
* Can stage files
* Can extract VirtualFiles into PortableFiles and create contexts from PortableFiles
* Code cleanup
2019-11-14 15:22:53 -07:00