feat: save fs objectbackend hashes

This commit is contained in:
Huskydog9988
2025-04-12 15:54:26 -04:00
parent 228d109692
commit 22a7cfa544
3 changed files with 82 additions and 12 deletions
+1
View File
@@ -221,6 +221,7 @@ export class ObjectHandler {
if (!hasPermission) return false;
const source = await sourceFetcher();
// TODO: prevent user from overwriting existing object
const result = await this.backend.write(id, source);
return result;