This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-08
Channels
- # announcements (4)
- # aws (1)
- # babashka (4)
- # beginners (75)
- # biff (4)
- # calva (13)
- # clojure (76)
- # clojure-android (1)
- # clojure-austin (9)
- # clojure-europe (14)
- # clojure-mexico (3)
- # clojure-nl (2)
- # clojure-norway (11)
- # clojure-uk (14)
- # clojurescript (19)
- # conjure (14)
- # cursive (30)
- # datomic (13)
- # gratitude (6)
- # hyperfiddle (71)
- # introduce-yourself (2)
- # juxt (5)
- # malli (5)
- # nbb (5)
- # nrepl (10)
- # off-topic (32)
- # re-frame (3)
- # releases (1)
- # shadow-cljs (5)
- # sql (38)
- # tools-deps (24)
- # xtdb (19)
For babashka.fs on Windows: not sure if this worth changing, but figured I'd mention it:
(fs/expand-home "~/my-file") ;; "C:\\Users\\my-file" (missing username directory when using forward slash)
(fs/expand-home "~\\my-file") ;;"C:\\Users\\justin\\my-file" ("correct")
(fs/expand-home (fs/path "~/my-file")) ;;"C:\\Users\\justin\\my-file" ("correct")
Should expand-home call fs/path
on its arg? I try to avoid backslashes in paths as much as possible and generally it works throughout the java ecosystem