« get me outta code hell

upd8: write preload file sizes cache - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-21 07:32:44 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-21 07:32:44 -0400
commit2f1b3e6dac14e26af7f2f184198d497990aef7a4 (patch)
treee00f0ecf528369f93ad408f75be94b58d28b14e0 /src/util
parent35b3b4f4876804fed9542d8d04e93425a96e1fa1 (diff)
upd8: write preload file sizes cache
This isn't viable yet because it includes full on-device path
names - not good for sharing between devices (or privacy!).
But the gist of writing and integration into the queue is here.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/cli.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/cli.js b/src/util/cli.js
index be59b35e..a40a911f 100644
--- a/src/util/cli.js
+++ b/src/util/cli.js
@@ -5,6 +5,8 @@
 
 const {process} = globalThis;
 
+import {sortByName} from './sort.js';
+
 export const ENABLE_COLOR =
   process &&
   ((process.env.CLICOLOR_FORCE && process.env.CLICOLOR_FORCE === '1') ??