Function hostfile::parse_file

source ·
pub fn parse_file(path: &Path) -> Result<Vec<HostEntry>, &'static str>
Expand description

Parse a file using the format described in man hosts(7)