MCPcopy
hub / github.com/yorukot/superfile / MissingFieldIgnorer

Interface MissingFieldIgnorer

src/pkg/utils/config_interface.go:6–8  ·  view source on GitHub ↗

MissingFieldIgnorer defines the interface for configuration types that can ignore missing fields during TOML file loading. Types implementing this interface can control whether missing field warnings are suppressed when parsing configuration files.

Source from the content-addressed store, hash-verified

4// during TOML file loading. Types implementing this interface can control whether missing field
5// warnings are suppressed when parsing configuration files.
6type MissingFieldIgnorer interface {
7 GetIgnoreMissingFields() bool
8}

Callers 1

LoadTomlFileFunction · 0.65

Implementers 2

TestTOMLMissingIgnorerTypesrc/pkg/utils/test_utils.go
ConfigTypesrc/internal/common/config_type.go

Calls

no outgoing calls

Tested by

no test coverage detected