Skip to main content

parse_service_commit

Function parse_service_commit 

Source
pub fn parse_service_commit(arguments: &[OsString]) -> Option<ServiceCommitArgs>
Expand description

What: Reads the arguments after commit and says whether the service covers them. Why: Anything not listed here is refused, so a new Git option is never silently dropped.

In TS you’d write (pseudocode):

parseServiceCommit(args)