gix_command

Function extract_interpreter

Source
pub fn extract_interpreter(executable: &Path) -> Option<Data>
Expand description

Parse the shebang (#!<path>) from the first line of executable, and return the shebang data when available.