README.md aktualisiert

Added return value description to check folder for extension description.
This commit is contained in:
swg
2023-11-21 06:51:16 +00:00
parent ac708eb438
commit 7e5ed33058

View File

@@ -4,10 +4,12 @@ Every script file includes the function and a test to show how it's meant to be
## Check folder for extension ## Check folder for extension
Checks a given folder for certain file extensions recursively. The [check_folder_for_extension test folder](cffe_test) contains of 13 files, 12 of them images, which should be found by the test. Checks a given folder for certain file extensions recursively. All found files with the extension(s) are returned in a global array; New files are appended to the array.
The [check_folder_for_extension test folder](cffe_test) contains of 13 files, 12 of them images, which should be found by the test.
function call: function call:
``` ```
check_folder_for_extension ./cffe_test "*.jpg *.JPG" check_folder_for_extension ./cffe_test "*.jpg *.JPG"
``` ```
For multiple extensions (or other parts of the file name to match) space separate the list, like shown above. For multiple extensions (or other parts of the file name to match) space separate the list, like shown above.