Skip to main content

unit_of_file

Function unit_of_file 

pub fn unit_of_file<'a>(index: &'a ProjectIndex, path: &Path) -> Option<&'a str>
Expand description

The unit a source file belongs to, read off the first index symbol defined in it. None for a file that defines nothing.