mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
Move gp-util and gp-config to the common dep
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
[goog.string :as gstring]
|
||||
[lambdaisland.glogi :as log]
|
||||
[logseq.common.path :as path]
|
||||
[logseq.graph-parser.util :as gp-util]
|
||||
[logseq.common.util :as common-util]
|
||||
[medley.core :refer [dedupe-by]]
|
||||
[promesa.core :as p]
|
||||
[rum.core :as rum]))
|
||||
@@ -729,7 +729,7 @@
|
||||
;;; ### path-normalize
|
||||
(def path-normalize
|
||||
|
||||
gp-util/path-normalize)
|
||||
common-util/path-normalize)
|
||||
|
||||
|
||||
;;; ### APIs
|
||||
@@ -1600,7 +1600,7 @@
|
||||
(map (fn [rpath]
|
||||
(p/let [base-file (path/path-join "logseq/version-files/base" rpath)
|
||||
current-change-file rpath
|
||||
format (gp-util/get-format current-change-file)
|
||||
format (common-util/get-format current-change-file)
|
||||
repo (state/get-current-repo)
|
||||
repo-dir (config/get-repo-dir repo)
|
||||
base-exists? (fs/file-exists? repo-dir base-file)]
|
||||
@@ -1635,7 +1635,7 @@
|
||||
(p/let [incoming-file (path/path-join "logseq/version-files/incoming" rpath)
|
||||
base-file (path/path-join "logseq/version-files/base" rpath)
|
||||
current-change-file rpath
|
||||
format (gp-util/get-format current-change-file)
|
||||
format (common-util/get-format current-change-file)
|
||||
repo (state/get-current-repo)
|
||||
repo-dir (config/get-repo-dir repo)
|
||||
base-exists? (fs/file-exists? repo-dir base-file)]
|
||||
|
||||
Reference in New Issue
Block a user