Commit Graph

10 Commits

Author SHA1 Message Date
d0c2a21ffd fix: add ResolveRenameOp to handle directory renames
RenameNode was calling Resolve() which generated blob keys for
directories that don't have blobs, causing 'key not found' errors.

Added ResolveRenameOp to BlobKeyResolver interface:
- FlatKeyResolver returns nil (UUIDs don't change on rename)
- HierarchicalKeyResolver returns move op for files and directories

This allows directory renames to work correctly with flat storage,
and leverages os.Rename for atomic directory moves with hierarchical.

Co-authored-by: Ona <no-reply@ona.com>
2026-01-04 23:58:43 +00:00
05edf69ca7 refactor: initial frontend wiring for new api 2025-12-15 00:13:10 +00:00
918b85dfd5 feat: support bulk file move in same dir 2025-12-13 19:24:54 +00:00
ca9dfd90b2 feat: impl files endpoints 2025-12-02 22:08:50 +00:00
1c1392a0a1 refactor: replace KeyMode with ShouldPersistKey 2025-11-30 15:02:37 +00:00
6984bb209e refactor: node deletion 2025-11-30 01:16:44 +00:00
ab4c14bc09 feat: impl config loading 2025-11-29 18:09:41 +00:00
39824e45d9 feat: impl upload api endpoints 2025-11-29 17:25:11 +00:00
987f36e1d2 feat: impl upload service 2025-11-28 22:31:00 +00:00
b1e34f878c wip: vfs implementation 2025-11-27 20:49:58 +00:00