This is an automated email from the ASF dual-hosted git repository.
lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/master by this push:
new ac45b61 Fixed SFTP directory scanners behavior documentation example
ac45b61 is described below
commit ac45b617272303058193db193650e7f2db3d1872
Author: Lyor Goldstein <[email protected]>
AuthorDate: Fri Nov 27 18:52:02 2020 +0200
Fixed SFTP directory scanners behavior documentation example
---
docs/sftp.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/sftp.md b/docs/sftp.md
index 6ab65cf..647792a 100644
--- a/docs/sftp.md
+++ b/docs/sftp.md
@@ -448,10 +448,10 @@ E.g. - let's assume the layout present below
Then scan results from `root` are expected as follows for the given patterns
-* "**/*" - all the files/folders - `[a1.txt, a1.csv, sub1, sub2, b1.txt,
b1.csv, c1.txt, c2.csv]`
+* "**/*" - all the files/folders - `[a1.txt, a2.csv, sub1, sub2, b1.txt,
b2.csv, c1.txt, c2.csv]`
* "**/*.txt" - only the ".txt" files - `[a1.txt, b1.txt, c1.txt]`
-* "*" - only the files/folders at the root - `[a1.txt, a1.csv, sub1, sub2]`
-* "*.csv" - only `a1.csv` at the root
+* "*" - only the files/folders at the root - `[a1.txt, a2.csv, sub1, sub2]`
+* "*.csv" - only `a2.csv` at the root
**Note:** the scanner supports various patterns - including *regex* - see
`DirectoryScanner` and `SelectorUtils`
classes for supported patterns and matching - include case sensitive vs.
insensitive match.