@lvce-editor/file-system-worker 5.16.0 → 5.17.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.
|
@@ -1740,6 +1740,9 @@ const assertUri = uri => {
|
|
|
1740
1740
|
const getFileHash$1 = async uri => {
|
|
1741
1741
|
return invoke$3('FileSystem.getFileHash', uri);
|
|
1742
1742
|
};
|
|
1743
|
+
const getFileHashes$1 = async uris => {
|
|
1744
|
+
return invoke$3('FileSystem.getFileHashes', uris);
|
|
1745
|
+
};
|
|
1743
1746
|
const {
|
|
1744
1747
|
appendFile: appendFile$1,
|
|
1745
1748
|
copy: copy$2,
|
|
@@ -1981,6 +1984,9 @@ const readFile = async uri => {
|
|
|
1981
1984
|
const getFileHash = async uri => {
|
|
1982
1985
|
return getFileHash$1(uri);
|
|
1983
1986
|
};
|
|
1987
|
+
const getFileHashes = async uris => {
|
|
1988
|
+
return getFileHashes$1(uris);
|
|
1989
|
+
};
|
|
1984
1990
|
const appendFile = async (uri, text) => {
|
|
1985
1991
|
return appendFile$1(uri, text);
|
|
1986
1992
|
};
|
|
@@ -2097,6 +2103,7 @@ const FileSystemDisk = {
|
|
|
2097
2103
|
createFile,
|
|
2098
2104
|
exists,
|
|
2099
2105
|
getFileHash,
|
|
2106
|
+
getFileHashes,
|
|
2100
2107
|
getFolderSize,
|
|
2101
2108
|
getPathSeparator,
|
|
2102
2109
|
getRealPath,
|
|
@@ -2310,6 +2317,7 @@ const commandMap = {
|
|
|
2310
2317
|
'FileSystem.executeWatchCallback': executeWatchCallback,
|
|
2311
2318
|
'FileSystem.exists': exists,
|
|
2312
2319
|
'FileSystem.getFileHash': getFileHash,
|
|
2320
|
+
'FileSystem.getFileHashes': getFileHashes,
|
|
2313
2321
|
'FileSystem.getFolderSize': getFolderSize,
|
|
2314
2322
|
'FileSystem.getPathSeparator': getPathSeparator,
|
|
2315
2323
|
'FileSystem.getRealPath': getRealPath,
|