DNSCrypt / DNSCrypt/SimpleDnsCrypt

Enhancement: Retain comments and structure in TOML file

Aperta
#293 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
2.5k
Fork
249
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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,

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.