a stupid bug func (f *SQLiteFile) getTotalSize() (int64, error) { query := SELECT COUNT(*), COALESCE(LENGTH(fragment), 0) FROM file_fragments WHERE file_id = (SELECT id FROM file_metadata WHERE path = ?) ORDE