chore: remove nfs support

Assets will be stored in IndexedDB through memory fs on web.
This commit is contained in:
Tienson Qin
2025-05-13 18:40:58 +08:00
parent 5e1a968530
commit de88511bda
21 changed files with 87 additions and 564 deletions

View File

@@ -71,7 +71,6 @@
:notification/show? false
:notification/content nil
:repo/loading-files? {}
:nfs/user-granted? {}
:nfs/refreshing? nil
:instrument/disabled? (storage/get "instrument-disabled")
;; TODO: how to detect the network reliably?
@@ -2280,10 +2279,6 @@ Similar to re-frame subscriptions"
[]
(:pdf/current @state))
(defn nfs-user-granted?
[repo]
(get-in @state [:nfs/user-granted? repo]))
(defn set-current-pdf!
[inflated-file]
(let [settle-file! #(set-state! :pdf/current inflated-file)]