This function will list all directories in the source folder
is a target folder to list all directories
a list of directories
This function will list all directories in the source folder