chore: remove legacy blender compression path

This commit is contained in:
Tom Boullay
2026-04-27 17:20:13 +02:00
parent 473fa0f6e1
commit 43cf48cc7d
9 changed files with 6 additions and 510 deletions
+1 -10
View File
@@ -1,6 +1,6 @@
import { randomUUID } from 'crypto'
import { dirname, join } from 'path'
import { mkdir, readdir, readFile, rm, stat, writeFile } from 'fs/promises'
import { mkdir, readdir, readFile, rm, writeFile } from 'fs/promises'
import { existsSync } from 'fs'
import { TMP_DIR } from '@/lib/constants'
import { prepareGitAssets } from '@/lib/prepare-git-assets'
@@ -203,12 +203,3 @@ export async function readStagedOriginalFiles(stagingId: string): Promise<{ fold
export async function cleanupStagingUpload(stagingId: string) {
await rm(getStageDir(stagingId), { recursive: true, force: true })
}
export async function stagingExists(stagingId: string): Promise<boolean> {
try {
const info = await stat(getStageDir(stagingId))
return info.isDirectory()
} catch {
return false
}
}