pub fn scan(dir: &Path, repo_root: &Path) -> Result<RustSurface, String>
Scans dir recursively for the event surface.
dir