DNSCrypt / DNSCrypt/SimpleDnsCrypt

Enhancement: Retain comments and structure in TOML file

Offen
#293 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
2.5k
Forks
249
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Good day Christian.

Yeah, it's another one of my crazy ideas: Load the TOML file as-is, keep it in memory like this. When you need to change an option, search and replace the line that has the option; new options go at the end. Ie. Preserve the file with comments and ordering.

Kinda annoying to code if you've got nothing of the sort right now, but it would be nice-to-have.

Thanks.
Best Regards,

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.