Skip to main content

parse_submodule_status

Function parse_submodule_status 

Source
pub fn parse_submodule_status(out: &str) -> Vec<SubmoduleEntry>
Expand description

Parse git submodule status output.

Each line is <marker><sha> <path>[ (<describe>)], where the marker is one character and is not separated from the SHA. A line that does not fit is skipped rather than failing the list: one unparseable submodule must not hide the others.