refactor(fs): use rpath

This commit is contained in:
Andelf
2023-03-09 02:53:57 +08:00
parent 16f8188fd1
commit 31d7c8f836
19 changed files with 510 additions and 220 deletions

View File

@@ -694,9 +694,8 @@
(- (.-size item)))))))
;;; ### path-normalize
(def path-normalize
(if (util/electron?)
gp-util/path-normalize
(partial capacitor-fs/normalize-file-protocol-path nil)))
gp-util/path-normalize)
;;; ### APIs