bool = true
bool = false
Scan dir contents.
Each entry of the dir is streamed through
Once dir is totally scanned,
success is emitted.
The scanning behavior is set up by the parameters:
recursive: set wether subdirectories must be scanned or not,
follow_links: set if symbolic links must be followed or not.
If any scan error happens,
failure is emitted and
message contains text of the related text of error(s).