diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-12-20 21:00:59 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-12-20 21:00:59 -0400 |
| commit | e9913e271d4b7452a4b4bebdabc25587e7ed73f7 (patch) | |
| tree | e865b44aa68f82ddfc3a9dc7dc0598876653db2b | |
| parent | 1cf2cab3fdc25301f6a5276ebb40fec719808fc4 (diff) | |
thumbs: quickstat here ofc (sob) preview
| -rw-r--r-- | src/gen-thumbs.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js index 18f88ce6..09f50881 100644 --- a/src/gen-thumbs.js +++ b/src/gen-thumbs.js @@ -149,21 +149,15 @@ const thumbnailSpec = { import {spawn} from 'node:child_process'; import {createHash} from 'node:crypto'; import {createReadStream} from 'node:fs'; +import {mkdir, readFile, rename, writeFile} + from 'node:fs/promises'; import * as path from 'node:path'; -import { - mkdir, - readdir, - readFile, - rename, - stat, - writeFile, -} from 'node:fs/promises'; - import dimensionsOf from 'image-size'; import {stringifyCache} from '#cli'; import {commandExists, isMain, promisifyProcess, traverse} from '#node-utils'; +import {readdir, stat} from '#quickstat'; import {sortByName} from '#sort'; import {delay, empty, filterMultipleArrays, queue, stitchArrays, unique} from '#sugar'; |