lib/storage: move opfs to subdirectory
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { OPFSStorage } from "$lib/storage";
|
||||
import { OPFSStorage } from "$lib/storage/opfs";
|
||||
import LibAV, { type LibAV as LibAVInstance } from "@imput/libav.js-remux-cli";
|
||||
import EncodeLibAV from "@imput/libav.js-encode-cli";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { readable, type Updater } from "svelte/store";
|
||||
|
||||
import { schedule } from "$lib/task-manager/scheduler";
|
||||
import { clearFileStorage, removeFromFileStorage } from "$lib/storage";
|
||||
import { clearFileStorage, removeFromFileStorage } from "$lib/storage/opfs";
|
||||
import { clearCurrentTasks, removeWorkerFromQueue } from "$lib/state/task-manager/current-tasks";
|
||||
|
||||
import type { CobaltFileReference } from "$lib/types/storage";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
const COBALT_PROCESSING_DIR = "cobalt-processing-data";
|
||||
|
||||
export class OPFSStorage {
|
||||
@@ -1,4 +1,4 @@
|
||||
import { OPFSStorage } from "$lib/storage";
|
||||
import { OPFSStorage } from "$lib/storage/opfs";
|
||||
|
||||
let attempts = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user