diff --git a/CHANGELOG.md b/CHANGELOG.md index 89dd1e2f..1d3b3460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ Sci: Babashka.fs: +- Add `create-link` and `split-paths` ([@eamonnsullivan](https://github.com/eamonnsullivan)) +- Add `split-ext` and `extension` ([@kiramclean](https://github.com/kiramclean)) +- Add `regular-file?`([@tekacs](https://github.com/tekacs)) - Globbing is always recursive but should not be [#18](https://github.com/babashka/fs/issues/18) ## 0.2.12 @@ -38,10 +41,6 @@ Sci: - Add `force` - Fix `ns-unmap` on referred var [#539](https://github.com/borkdude/sci/issues/539) -Babashka.fs: - -- Add `create-link` and `split-paths` - Babashka.nrepl: - Fix printing in lazy value [#36](https://github.com/babashka/babashka.nrepl/issues/36) diff --git a/fs b/fs index 56916713..1c3fcabe 160000 --- a/fs +++ b/fs @@ -1 +1 @@ -Subproject commit 56916713d4c08d9595799073cbb60772038d5e4a +Subproject commit 1c3fcabec28d6d07bb59431fde76592a7fca6338 diff --git a/sci b/sci index 5912a2b6..7f18ce95 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 5912a2b6d12d3a6c46f903383c61b784cddbc174 +Subproject commit 7f18ce95cae1e78a851726cba8ed5a267f248d86 diff --git a/src/babashka/impl/fs.clj b/src/babashka/impl/fs.clj index 034738e6..996a55a6 100644 --- a/src/babashka/impl/fs.clj +++ b/src/babashka/impl/fs.clj @@ -25,6 +25,7 @@ 'create-dir (sci/copy-var fs/create-dir fns) 'create-dirs (sci/copy-var fs/create-dirs fns) 'create-file (sci/copy-var fs/create-file fns) + 'create-link (sci/copy-var fs/create-link fns) 'create-sym-link (sci/copy-var fs/create-sym-link fns) 'create-temp-dir (sci/copy-var fs/create-temp-dir fns) 'creation-time (sci/copy-var fs/creation-time fns) @@ -37,6 +38,7 @@ 'exec-paths (sci/copy-var fs/exec-paths fns) 'executable? (sci/copy-var fs/executable? fns) 'exists? (sci/copy-var fs/exists? fns) + 'extension (sci/copy-var fs/extension fns) 'file (sci/copy-var fs/file fns) 'file-name (sci/copy-var fs/file-name fns) 'file-separator (sci/copy-var fs/file-separator fns) @@ -62,6 +64,7 @@ 'read-attributes (sci/copy-var fs/read-attributes fns) 'readable? (sci/copy-var fs/readable? fns) 'real-path (sci/copy-var fs/real-path fns) + 'regular-file? (sci/copy-var fs/regular-file? fns) 'relative? (sci/copy-var fs/relative? fns) 'relativize (sci/copy-var fs/relativize fns) 'same-file? (sci/copy-var fs/same-file? fns) @@ -70,6 +73,7 @@ 'set-last-modified-time (sci/copy-var fs/set-last-modified-time fns) 'set-posix-file-permissions (sci/copy-var fs/set-posix-file-permissions fns) 'size (sci/copy-var fs/size fns) + 'split-ext (sci/copy-var fs/split-ext fns) 'split-paths (sci/copy-var fs/split-paths fns) 'starts-with? (sci/copy-var fs/starts-with? fns) 'str->posix (sci/copy-var fs/str->posix fns)