Code

History

Commits on git-commitgraph-v0.8.1 to git-config/tests/file/mutable/section.rs18
  1. make fmtSebastian Thiel committed 4 years ago47724c0
  2. fix windows tests (#331)Sebastian Thiel committed 4 years agofbcf40e
  3. serializations maintains some invariants about whitespace where possible. (#331)Sebastian Thiel committed 4 years agoee10dd5
  4. fix: maintain newline format depending on what's present or use platform default. (#331)Sebastian Thiel committed 4 years agof7bd2ca
  5. change!: Remove `File::sections_by_name_with_header()` as `::sections_by_name()` now returns entire sections. (#331)Sebastian Thiel committed 4 years ago3bea26d
  6. change!: Much more comfortable API `file::*Mut` types thanks to `impl Into/AsRef`. (#331)Sebastian Thiel committed 4 years ago3d25fe6
  7. fix: `file::MutableSection::remove()` now actually removes keys _and_ values. (#331)Sebastian Thiel committed 4 years ago94dde44
  8. thanks clippySebastian Thiel committed 4 years ago3ca8027
  9. many more tests for MutableSection (#331)Sebastian Thiel committed 4 years agoac843cb
  10. make fmtSebastian Thiel committed 4 years agoaa9fdb0
  11. feat: place spaces around `key = value` pairs, or whatever is used in the source configuration. (#331)Sebastian Thiel committed 4 years ago5418bc7
  12. avoid extra copies when setting values and escaping them (#331)Sebastian Thiel committed 4 years agoa7eff01
  13. refactor (#331)Sebastian Thiel committed 4 years ago15cd1d2
  14. default space is just a single tab, not two ones (#331)Sebastian Thiel committed 4 years ago7e03b83
  15. refactor (#331)Sebastian Thiel committed 4 years agoafa736a
  16. change!: rename `file::MutableSection::set_leading_space()` to `set_leading_whitespace()`. (#331)Sebastian Thiel committed 4 years ago83a0922
  17. feat: whitespace in newly pushed keys is derived from first section value. (#331)Sebastian Thiel committed 4 years ago9f59356
  18. feat: `File::from_str()` implementation, to support `let config: File = "[core]".parse()?` (#331)Sebastian Thiel committed 4 years agodb1f34d