Skip to main content

config_table

Function config_table 

Source
pub fn config_table(form: ConfigForm) -> Vec<OptionSpec>
Expand description

What: The complete option table of one form, assembled from Git’s groups in Git’s order. Vec<OptionSpec> is an owned list, built once per parse. Why: The completion control compares each assembled table with the binary’s.

In TS you’d write (pseudocode):

function configTable(form: ConfigForm): OptionSpec[] { return groups[form].flat(); }