Skip to content

Commit 5fbc8ae

Browse files
Update README.md - Fix typo
1 parent 66ea6ca commit 5fbc8ae

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ filtering/
132132
Files and directories can be sorted using a custom comparator (default is alphabetical order).
133133
If the provided comparator considers two paths equal (i.e., returns `0`), an alphabetical comparator is applied as a tie-breaker to ensure consistent results across all systems.
134134

135-
The `PathSorts` class provides a set of basic, ready-to-use comparators, as well as a builder for creating your own tailor-made sorts.
135+
The `PathSorts` class provides a set of basic, ready-to-use comparators, as well as a builder for creating your own tailor-made sort.
136136

137137
```java
138138
// Example: Sorting.java
@@ -215,7 +215,7 @@ child_limit_static/
215215
Or you can also set a limitation function, to dynamically choose the number of children displayed in each directory.
216216
It avoids cluttering the whole console with known large folders (e.g. `node_modules`) but continue to pretty print normally other folders.
217217

218-
Use the `ChildLimitBuilder` and `PathMatchers` classes to help you build the limit function that fits your needs.
218+
Use the `ChildLimits` class to help you build the limit function that fits your needs.
219219

220220
```java
221221
// Example: ChildLimitDynamic.java
@@ -240,10 +240,6 @@ child_limit_dynamic/
240240
└─ ... (9 files skipped)
241241
```
242242

243-
> [!TIP]
244-
> *Idea for a future version: helper for custom basic functions (by name, prefix, regex, etc.)*
245-
246-
247243
## Line extension
248244
You can extend each displayed path with additional information by providing a custom `Function<Path, String>`.
249245
This is useful to annotate your tree with comments, display file sizes, or add domain-specific notes.

0 commit comments

Comments
 (0)