mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
move all string/join used to construct paths to one place
This commit is contained in:
@@ -322,7 +322,7 @@
|
||||
(if (and (< 2 (count parts))
|
||||
(= 36 (count (parts 0)))
|
||||
(= 36 (count (parts 1))))
|
||||
(string/join "/" (drop 2 parts))
|
||||
(util/string-join-path (drop 2 parts))
|
||||
path)))
|
||||
|
||||
(defprotocol IRelativePath
|
||||
@@ -531,7 +531,7 @@
|
||||
{:post [(s/valid? ::diff %)]}
|
||||
{:TXId (inc index)
|
||||
:TXType "update_files"
|
||||
:TXContent [[(string/join "/" [user-uuid graph-uuid relative-path]) nil checksum]]})
|
||||
:TXContent [[(util/string-join-path [user-uuid graph-uuid relative-path]) nil checksum]]})
|
||||
|
||||
(defn filepath+checksum-coll->partitioned-filetxns
|
||||
"transducer.
|
||||
|
||||
Reference in New Issue
Block a user