MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / isHostDirective

Function isHostDirective

Extension/src/SSH/sshHosts.ts:209–211  ·  view source on GitHub ↗
(c: ConfigurationEntry | HostConfigurationDirective)

Source from the content-addressed store, hash-verified

207}
208
209function isHostDirective(c: ConfigurationEntry | HostConfigurationDirective): c is HostConfigurationDirective {
210 return isDirective(c) && c.param === 'Host' && !!c.value && !!(c as HostConfigurationDirective).config;
211}
212
213/**
214 * List of props that we care about and should be case-normalized, should match ResolvedConfiguration type

Callers 1

caseNormalizeConfigPropsFunction · 0.85

Calls 1

isDirectiveFunction · 0.85

Tested by

no test coverage detected