s3 adds support for remote prefix

This commit is contained in:
fyears
2024-01-06 21:53:52 +08:00
parent 586e587d96
commit b070f51f5d
8 changed files with 96 additions and 49 deletions
+2 -1
View File
@@ -219,6 +219,7 @@ export const parseRemoteItems = async (
let r = {} as FileOrFolderMixedState;
if (backwardMapping !== undefined) {
// log.debug(`backwardMapping=${backwardMapping}`);
key = backwardMapping.localKey;
const mtimeRemote = backwardMapping.localMtime || entry.lastModified;
@@ -236,7 +237,7 @@ export const parseRemoteItems = async (
changeRemoteMtimeUsingMapping: true,
};
} else {
// do not have backwardMapping
// log.debug(`do not have backwardMapping`);
r = {
key: key,
existRemote: true,