Skip to content

Commit 434c1d3

Browse files
committed
Add an example showing all kwargs
1 parent 4b6c686 commit 434c1d3

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,26 @@ Fdr.search(
5252
paths: %w[logs]
5353
)
5454

55+
Fdr.search(
56+
pattern: 'thought.*snow|garret.*auction|foul.*thing',
57+
paths: %w[~/garret ~/vault],
58+
extension: 'txt',
59+
type: 'f',
60+
hidden: true,
61+
no_ignore: true,
62+
case_sensitive: false,
63+
glob: false,
64+
full_path: true,
65+
max_depth: 7,
66+
min_depth: 1,
67+
exclude: %w[publication creator],
68+
follow: true,
69+
min_size: 1,
70+
max_size: 1_048_576,
71+
changed_within: 31_536_000,
72+
changed_before: 604_800
73+
)
74+
5575
# Aliases for `Fdr.search`, if you prefer:
5676
Fdr.entries(extension: 'rb')
5777
Fdr.scan(extension: 'rb')

0 commit comments

Comments
 (0)