Skip to content

Commit

Permalink
容量を表示
Browse files Browse the repository at this point in the history
  • Loading branch information
yahiro07 committed Feb 7, 2024
1 parent 563ed3f commit 7a5099b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion software/src/memoryFileSystem/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ function createMemoryFileSystem(): IMemoryFileSystem {
const data = JSON.parse(text) as IMemoryFileSystemPersistData;
memoryStorageRevision = data.memoryStorageRevision ?? 1;
fileEntities = data.items || data.fileEntities;
console.log({ memoryStorageRevision });
// console.log({ memoryStorageRevision });
const totalByteLength = new TextEncoder().encode(text).length;
console.log(`memory storage size: ${totalByteLength}`);
console.log({ fileEntities });
}
},
Expand Down

0 comments on commit 7a5099b

Please sign in to comment.