1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var hybrid_file_system_1 = require("./hybrid-file-system");
|
4 | var helpers_1 = require("./helpers");
|
5 | var instance = null;
|
6 | function getInstance(writeToDisk) {
|
7 | if (!instance) {
|
8 | instance = new hybrid_file_system_1.HybridFileSystem(helpers_1.getContext().fileCache);
|
9 | }
|
10 | instance.setWriteToDisk(writeToDisk);
|
11 | return instance;
|
12 | }
|
13 | exports.getInstance = getInstance;
|