mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-24 16:40:58 -04:00
Check for storage load for git storage
This commit is contained in:
@@ -37,6 +37,9 @@ public abstract class DataStorage {
|
||||
private static DataStorage INSTANCE;
|
||||
protected final Path dir;
|
||||
|
||||
@Getter
|
||||
protected boolean loaded;
|
||||
|
||||
@Getter
|
||||
protected final List<DataStoreCategory> storeCategories;
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@ public class StandardStorage extends DataStorage {
|
||||
@Getter
|
||||
private final GitStorageHandler gitStorageHandler;
|
||||
|
||||
private boolean loaded;
|
||||
|
||||
StandardStorage() {
|
||||
this.gitStorageHandler = GitStorageHandler.getInstance();
|
||||
this.gitStorageHandler.init(dir);
|
||||
|
||||
Reference in New Issue
Block a user