feat: identify unused objects

This commit is contained in:
Huskydog9988
2025-05-08 19:19:10 -04:00
parent 1a2d3c8207
commit 597a2264e8
3 changed files with 132 additions and 0 deletions
+3
View File
@@ -152,6 +152,9 @@ export class FsObjectBackend extends ObjectBackend {
await store.save(id, hashResult);
return typeof hashResult;
}
async listAll(): Promise<string[]> {
return fs.readdirSync(this.baseObjectPath);
}
}
class FsHashStore {