lf
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
import { ensureElectron } from "ente-base/electron";
|
||||
import { joinPath, nameAndExtension } from "ente-base/file-name";
|
||||
import log from "ente-base/log";
|
||||
import { exportMetadataDirectoryName } from "ente-gallery/export-dirs";
|
||||
import { downloadManager } from "ente-gallery/services/download";
|
||||
import type { Collection } from "ente-media/collection";
|
||||
import { mergeMetadata, type EnteFile } from "ente-media/file";
|
||||
@@ -22,7 +23,6 @@ import { getData } from "ente-shared/storage/localStorage";
|
||||
import type { User } from "ente-shared/user/types";
|
||||
import { wait } from "ente-utils/promise";
|
||||
import exportService, {
|
||||
exportMetadataDirectoryName,
|
||||
getCollectionIDFromFileUID,
|
||||
getExportRecordFileUID,
|
||||
getLivePhotoExportName,
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
import { ensureElectron } from "ente-base/electron";
|
||||
import { joinPath } from "ente-base/file-name";
|
||||
import log from "ente-base/log";
|
||||
import {
|
||||
exportMetadataDirectoryName,
|
||||
exportTrashDirectoryName,
|
||||
} from "ente-gallery/export-dirs";
|
||||
import { downloadManager } from "ente-gallery/services/download";
|
||||
import { writeStream } from "ente-gallery/utils/native-stream";
|
||||
import type { Collection } from "ente-media/collection";
|
||||
@@ -30,10 +34,6 @@ import { getData, setData } from "ente-shared/storage/localStorage";
|
||||
import { PromiseQueue } from "ente-utils/promise";
|
||||
import i18n from "i18next";
|
||||
import { migrateExport, type ExportRecord } from "./export-migration";
|
||||
import {
|
||||
exportMetadataDirectoryName,
|
||||
exportTrashDirectoryName,
|
||||
} from "ente-gallery/export-dirs";
|
||||
|
||||
/** Name of the JSON file in which we keep the state of the export. */
|
||||
const exportRecordFileName = "export_status.json";
|
||||
|
||||
Reference in New Issue
Block a user