@lvce-editor/explorer-view 4.5.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1268,6 +1268,13 @@ const appendFile = async (uri, text) => {
|
|
|
1268
1268
|
// @ts-ignore
|
|
1269
1269
|
return invoke$4('FileSystem.appendFile', uri, text);
|
|
1270
1270
|
};
|
|
1271
|
+
const registerMockRpc$1 = commandMap => {
|
|
1272
|
+
const mockRpc = createMockRpc({
|
|
1273
|
+
commandMap
|
|
1274
|
+
});
|
|
1275
|
+
set$5(mockRpc);
|
|
1276
|
+
return mockRpc;
|
|
1277
|
+
};
|
|
1271
1278
|
|
|
1272
1279
|
const FileSystemWorker = {
|
|
1273
1280
|
__proto__: null,
|
|
@@ -1285,6 +1292,7 @@ const FileSystemWorker = {
|
|
|
1285
1292
|
readDirWithFileTypes: readDirWithFileTypes$1,
|
|
1286
1293
|
readFile: readFile$1,
|
|
1287
1294
|
readFileAsBlob,
|
|
1295
|
+
registerMockRpc: registerMockRpc$1,
|
|
1288
1296
|
remove: remove$1,
|
|
1289
1297
|
rename: rename$2,
|
|
1290
1298
|
set: set$5,
|