mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-13 22:26:43 +10:00
feat: identify unused objects
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user