MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / CopyExcept

Method CopyExcept

ui/Services/ModeService.cs:139–147  ·  view source on GitHub ↗
(JsonElement obj, string skipKey, Utf8JsonWriter writer)

Source from the content-addressed store, hash-verified

137 }
138
139 private static void CopyExcept(JsonElement obj, string skipKey, Utf8JsonWriter writer)
140 {
141 if (obj.ValueKind != JsonValueKind.Object) return;
142 foreach (var prop in obj.EnumerateObject())
143 {
144 if (prop.Name == skipKey) continue;
145 prop.WriteTo(writer);
146 }
147 }
148
149 private static string GetSettingsPath()
150 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected