pub fn dir_to_mods(dir: &Path)
Expand description

Creates a mod.rs file for the given dir with all the subdirectories and file names in the directory. Also recursively generates mod.rs files for all of dir’s subdirectories. Requires dir to be a directory.