rename list-file-local-versions

pull/7709/head
rcmerci 2022-12-13 16:55:47 +08:00 committed by Tienson Qin
parent af3f4ecd32
commit fb8f41077d
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@
(when-not (instance? ExceptionInfo r)
(path/join "logseq" "version-files" key))))))
(defn- list-file-local-versions
(defn- <list-file-local-versions
[page]
(go
(when-let [path (-> page :block/file :file/path)]
@ -175,7 +175,7 @@
(go
(let [version-list (:VersionList
(<! (sync/<get-remote-file-versions sync/remoteapi graph-uuid path*)))
local-version-list (<! (list-file-local-versions page))
local-version-list (<! (<list-file-local-versions page))
all-version-list (->> (concat version-list local-version-list)
(sort-by #(or (:CreateTime %)
(:create-time %))