MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / Include

Struct Include

cli/pkg/ssh_config/config.go:637–654  ·  view source on GitHub ↗

Include holds the result of an Include directive, including the config files that have been parsed as part of that directive. At most 5 levels of Include statements will be parsed.

Source from the content-addressed store, hash-verified

635// that have been parsed as part of that directive. At most 5 levels of Include
636// statements will be parsed.
637type Include struct {
638 // Comment is the contents of any comment at the end of the Include
639 // statement.
640 Comment string
641 // an include directive can include several different files, and wildcards
642 directives []string
643
644 mu sync.Mutex
645 // 1:1 mapping between matches and keys in files array; matches preserves
646 // ordering
647 matches []string
648 // actual filenames are listed here
649 files map[string]*Config
650 leadingSpace int
651 position Position
652 depth uint8
653 hasEquals bool
654}
655
656const maxRecurseDepth = 5
657

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected