mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-02 05:51:18 +00:00
d0c2a21ffd3cdaec335e595854e2a34b33e7556e
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>
Description
Languages
TypeScript
48.2%
Go
46.1%
JavaScript
1.7%
PLpgSQL
1.4%
CSS
1.2%
Other
1.4%