Skip to content

Commit

Permalink
v0.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Aug 30, 2022
1 parent 60aea91 commit 2e67e8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ For a list of breaking changes, check [here](#breaking-changes).

## Unreleased

## v0.1.11

- [#65](https://github.com/babashka/fs/issues/65): Explicitly support `:win-exts` option on `which` function ([@lread](https://github.com/lread))
- [clj-kondo#1782](https://github.com/clj-kondo/clj-kondo/issues/1782): `exists?` should never throw on illegal input path.
- Remove `^:const` to not cache OS-specific constants, so AOT-ed code can be
re-used in multiple OS-es.

## v0.1.6

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject babashka/fs "0.1.6"
(defproject babashka/fs "0.1.11"
:description "Babashka file system utilities."
:url "https://github.com/babashka/fs"
:scm {:name "git"
Expand Down
4 changes: 2 additions & 2 deletions src/babashka/fs.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@
(with-open [stream (directory-stream dir glob-or-accept)]
(vec stream)))))

(def ^:const file-separator File/separator)
(def ^:const path-separator File/pathSeparator)
(def file-separator File/separator)
(def path-separator File/pathSeparator)

(def ^:private win?
(-> (System/getProperty "os.name")
Expand Down

0 comments on commit 2e67e8e

Please sign in to comment.