feat(object-store): algo-dir layout + iter_stored_objects canonical walker
- object_path() now returns objects/sha256/<shard>/<rest> — algorithm is a directory component, mirroring the sha256: prefix on object IDs - Add iter_stored_objects() — single canonical walker replacing six inline iterdir loops across gc, maintenance, verify_object, prune, count_objects - _object_path_with_fallback() retains 2↔4-char shard-prefix migration only; legacy no-algo-dir layout support removed entirely - cleanup_stale_object_temps() updated for the 3-level structure - Fix restore_object empty-object comparison (sha256: prefix was missing) - All six callers (gc, maintenance, verify_object, prune, count_objects ×3) replaced with iter_stored_objects; no inline iterdir loops remain - Test helpers that manually constructed legacy paths updated to use write_object/object_path; legacy test classes removed
0 comments
muse hub commit comment sha256:41df9d174a062c036619a5afbd7f4653788d8b2db013ce19213d2ece2c47b0f4 --body "your comment"
No comments yet. Be the first to start the discussion.