@lvce-editor/file-system-process 3.4.0 → 3.5.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.
- package/dist/index.js +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -558,6 +558,13 @@ const getFolderSize = async uri => {
|
|
|
558
558
|
return total;
|
|
559
559
|
};
|
|
560
560
|
|
|
561
|
+
const watchFile = uri => {
|
|
562
|
+
// TODO
|
|
563
|
+
};
|
|
564
|
+
const unwatchFile = uri => {
|
|
565
|
+
// TODO
|
|
566
|
+
};
|
|
567
|
+
|
|
561
568
|
const isMessagePort = value => {
|
|
562
569
|
return value && value instanceof MessagePort;
|
|
563
570
|
};
|
|
@@ -1877,6 +1884,8 @@ const commandMap = {
|
|
|
1877
1884
|
'FileSystem.remove': remove$1,
|
|
1878
1885
|
'FileSystem.rename': rename,
|
|
1879
1886
|
'FileSystem.stat': stat,
|
|
1887
|
+
'FileSystem.unwatchFile': unwatchFile,
|
|
1888
|
+
'FileSystem.watchFile': watchFile,
|
|
1880
1889
|
'FileSystem.writeFile': writeFile,
|
|
1881
1890
|
'HandleElectronMessagePort.handleElectronMessagePort': handleElectronMessagePort,
|
|
1882
1891
|
'HandleWebSocket.handleWebSocket': handleWebSocket,
|