@lvce-editor/file-system-process 1.0.0 → 1.1.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 +12 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -417,18 +417,18 @@ const getFolderSize = async uri => {
|
|
|
417
417
|
};
|
|
418
418
|
|
|
419
419
|
const commandMap = {
|
|
420
|
-
chmod: chmod,
|
|
421
|
-
copy: copy,
|
|
422
|
-
getPathSeparator: getPathSeparator,
|
|
423
|
-
mkdir: mkdir,
|
|
424
|
-
readDirWithFileTypes: readDirWithFileTypes,
|
|
425
|
-
readFile: readFile,
|
|
426
|
-
readJson: readJson,
|
|
427
|
-
remove: remove,
|
|
428
|
-
rename: rename,
|
|
429
|
-
stat: stat,
|
|
430
|
-
writeFile: writeFile,
|
|
431
|
-
getFolderSize: getFolderSize
|
|
420
|
+
'FileSystem.chmod': chmod,
|
|
421
|
+
'FileSystem.copy': copy,
|
|
422
|
+
'FileSystem.getPathSeparator': getPathSeparator,
|
|
423
|
+
'FileSystem.mkdir': mkdir,
|
|
424
|
+
'FileSystem.readDirWithFileTypes': readDirWithFileTypes,
|
|
425
|
+
'FileSystem.readFile': readFile,
|
|
426
|
+
'FileSystem.readJson': readJson,
|
|
427
|
+
'FileSystem.remove': remove,
|
|
428
|
+
'FileSystem.rename': rename,
|
|
429
|
+
'FileSystem.stat': stat,
|
|
430
|
+
'FileSystem.writeFile': writeFile,
|
|
431
|
+
'FileSystem.getFolderSize': getFolderSize
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
const listen = async argv => {
|