Skip to content

Commit

Permalink
Add :max-deth description to babashka.fs/glob (#131)
Browse files Browse the repository at this point in the history
* Add :max-deth description to babashka.fs/glob

* Add changelog entry
  • Loading branch information
teodorlu authored Jun 7, 2024
1 parent 8658cab commit eca5a35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ For a list of breaking changes, check [here](#breaking-changes).

Babashka [fs](https://github.com/babashka/fs): file system utility library for Clojure

## Unreleased

- [#130](https://github.com/babashka/fs/issues/130) Unclear from `fs/glob`docs that it supports a `:max-depth` option ([@teodorlu](https://github.com/teodorlu))

## v0.5.21 (2024-05-17)

- [#125](https://github.com/babashka/fs/issues/125) Allow `unzip` to take a `java.io.InputStream`
Expand Down
1 change: 1 addition & 0 deletions src/babashka/fs.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
* `:hidden` - match hidden paths. Implied when `pattern` starts with a dot. Note: on Windows files starting with a dot are not hidden, unless their hidden attribute is set.
* `:follow-links` - follow symlinks.
* `:recursive` - force recursive search. Implied when `pattern` contains `**` or `/`.
* `:max-depth` - max depth to descend into directory structure.
Examples:
`(fs/glob \".\" \"**.clj\")`"
Expand Down

0 comments on commit eca5a35

Please sign in to comment.