* Get database file size in bytes
()
| 455 | * Get database file size in bytes |
| 456 | */ |
| 457 | getSize(): number { |
| 458 | const stats = fs.statSync(this.dbPath); |
| 459 | return stats.size; |
| 460 | } |
| 461 | |
| 462 | /** |
| 463 | * Size of the `-wal` sidecar file in bytes. 0 when it doesn't exist (non-WAL |