mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
total saved
This commit is contained in:
1 parent
62f68f1f10
commit
f882ea29e2
1 file changed
+3
@@ -9,6 +9,7 @@ interface ManifestV1 {
|
|||||||
version: 1;
|
version: 1;
|
||||||
last_verified: number;
|
last_verified: number;
|
||||||
chunks: number;
|
chunks: number;
|
||||||
|
total_count: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RegionDescriptor {
|
interface RegionDescriptor {
|
||||||
@@ -155,6 +156,8 @@ async function save() {
|
|||||||
await Bun.write(path, compressed);
|
await Bun.write(path, compressed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
manifest.total_count = totalFound;
|
||||||
|
|
||||||
await Bun.write(
|
await Bun.write(
|
||||||
`${WORKING_DIR}/manifest.json`,
|
`${WORKING_DIR}/manifest.json`,
|
||||||
JSON.stringify(manifest, null, 2),
|
JSON.stringify(manifest, null, 2),
|
||||||
|
|||||||
Reference in new issue
Block a user