Closed davschne-unity closed 9 months ago
Add sample .data file for testing
Add function to determine if a file is a web bundle
Rename test to disambiguate with forthcoming test
HandleExtractArchive handles .data files as well as asset bundles
Propagate specific error message to console output
Simplify IsWebBundle test to use file extension
Since we also need to support gzip- and brotli-compressed web bundles, and we don't want to decompress more than once.
And throw the appropriate exception type (requires adding package System.IO.Packaging).
Remove unneeded using statement
using
Simplify namespace paths where possible
Support extracting gzip- and brotli-compressed web bundles
Clean up using statements
Extract function to facilitate error handling
Reading less than the expected number of bytes raises FileFormatException
Extract function ReadUInt32 to facilitate error handling
EndOfStream from ReadUInt32 raises FileFormatException
Wrap console redirection in try/finally to ensure it's restored
Whitespace
Extract function ListAssetBundle
Test archive list on web bundle (fails)
archive list
Log error message in archive list
Add function ListWebBundle
HandleListArchive branches on archive type
Move members related to archive command to a new file
archive
Remove redundancy in function names
Update CLI command descriptions
Update README description of archive command
Normalize wording: "content" -> "contents"
Add .gitattributes to specify auto line endings
Add sample .data file for testing
Add function to determine if a file is a web bundle
Rename test to disambiguate with forthcoming test
HandleExtractArchive handles .data files as well as asset bundles
Propagate specific error message to console output
Simplify IsWebBundle test to use file extension
Since we also need to support gzip- and brotli-compressed web bundles, and we don't want to decompress more than once.
And throw the appropriate exception type (requires adding package System.IO.Packaging).
Remove unneeded
using
statementSimplify namespace paths where possible
Support extracting gzip- and brotli-compressed web bundles
Clean up
using
statementsExtract function to facilitate error handling
Reading less than the expected number of bytes raises FileFormatException
Extract function ReadUInt32 to facilitate error handling
EndOfStream from ReadUInt32 raises FileFormatException
Rename test to disambiguate with forthcoming test
Wrap console redirection in try/finally to ensure it's restored
Whitespace
Extract function ListAssetBundle
Test
archive list
on web bundle (fails)Log error message in
archive list
Add function ListWebBundle
HandleListArchive branches on archive type
Move members related to
archive
command to a new fileRemove redundancy in function names
Update CLI command descriptions
Update README description of
archive
commandNormalize wording: "content" -> "contents"
Whitespace
Add .gitattributes to specify auto line endings