Repository navigation
·
5 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
- Entry paths are normalized like the engine does it:
\is a separator, ASCII letters are lowercased, and./..are resolved. Invalid names are rejected. Package.Open,OpenEntryStream(read nested VPKs in place) andVerify(all checks in one call, with progress and cancellation).RemoveDirectoryandRenameDirectory.- Write back over the read file, including a
_dir.vpk, or repack into new chunk files withWrite(path, repack: true). - Path helpers (
TryParseEntryPath,NormalizeDirectoryPath,PathComparer) and chunk file helpers (GetChunkFilePath,TryParseChunkFilePath,OpenArchiveStream). - Writing refuses to overwrite the package's own chunk files.
FindEntryno longer allocates, the library no longer uses LINQ, and writing and verifying allocate less.