mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
Revert "Revert "handle lightning-fs""
This reverts commit 840cb90ed5f0fc2704b80f975d08179050cee8b0.
This commit is contained in:
committed by
Tienson Qin
parent
bffeddff4c
commit
46208a7753
@@ -127,7 +127,7 @@
|
||||
[repo old-path new-path]
|
||||
(let [new-path (gp-util/path-normalize new-path)]
|
||||
(cond
|
||||
; See https://github.com/isomorphic-git/lightning-fs/issues/41
|
||||
; See https://github.com/isomorphic-git/lightning-fs/issues/41
|
||||
(= old-path new-path)
|
||||
(p/resolved nil)
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
|
||||
(defn get-files
|
||||
"List all files in the directory, recursively.
|
||||
|
||||
|
||||
Wrap as {:path string :files []}, using relative path"
|
||||
[dir]
|
||||
(let [fs-record (get-native-backend)]
|
||||
|
||||
Reference in New Issue
Block a user