mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-14 17:46:03 +00:00
1.7.33 sync
This commit is contained in:
parent
0aad008699
commit
ea0d105e12
23 changed files with 405 additions and 228 deletions
8
dist/ba_data/python/bacommon/transfer.py
vendored
8
dist/ba_data/python/bacommon/transfer.py
vendored
|
|
@ -18,10 +18,10 @@ if TYPE_CHECKING:
|
|||
@ioprepped
|
||||
@dataclass
|
||||
class DirectoryManifestFile:
|
||||
"""Describes metadata and hashes for a file in a manifest."""
|
||||
"""Describes a file in a manifest."""
|
||||
|
||||
filehash: Annotated[str, IOAttrs('h')]
|
||||
filesize: Annotated[int, IOAttrs('s')]
|
||||
hash_sha256: Annotated[str, IOAttrs('h')]
|
||||
size: Annotated[int, IOAttrs('s')]
|
||||
|
||||
|
||||
@ioprepped
|
||||
|
|
@ -67,7 +67,7 @@ class DirectoryManifest:
|
|||
return (
|
||||
filepath,
|
||||
DirectoryManifestFile(
|
||||
filehash=sha.hexdigest(), filesize=filesize
|
||||
hash_sha256=sha.hexdigest(), size=filesize
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue