feat: identify unused objects

This commit is contained in:
Huskydog9988
2025-05-08 19:19:10 -04:00
committed by DecDuck
parent aa3105aecd
commit dbded55113
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 {