sh/rm">Community Examples</a></div><hr><div class="binding"><span id="sh/scan-directory" class="binding-sym">sh/scan-directory</span> <span class="binding-type">function</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/285fced0323c318d26e6ecf767f2870aa948a3cf//spork/sh.janet#L69">source</a></span> <pre class="binding-text">(scan-directory dir func)

Scan a directory recursively, applying the given function on all files and directories in a depth-first manner. This function