MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / string_restricted_f

Function string_restricted_f

src/config.cpp:988–998  ·  view source on GitHub ↗

* @brief Consume a string setting only when it matches an allowed value. * * @param vars Parsed configuration entries; consumed keys are erased. * @param name Configuration key to consume. * @param input Destination field updated when the setting exists and parses successfully. * @param allowed_vals Accepted string values for this setting. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

apply_configFunction · 0.85

Calls 2

string_fFunction · 0.85
moveFunction · 0.85

Tested by

no test coverage detected