code: def DirScanner(**kw):
      
      kw['node_factory'] = SCons.Node.FS.Entry
      kw['recursive'] = only_dirs
      return SCons.Scanner.Base(scan_on_disk, "DirScanner", **kw)
docs: Return a prototype Scanner instance for scanning
      directories for on-disk files