Code

History

Commits on git-commitgraph-v0.10.0 to git-config/src/file/access35+
  1. thanks clippySebastian Thiel committed 4 years ago04cfa63
  2. fix: `File::boolean()` now correctly handles implicit bools across sections. (#450)Sebastian Thiel committed 4 years ago839f776
  3. make fmtSebastian Thiel committed 4 years ago7b9c065
  4. feat: Add various methods to iterate sections along with their id, and mutate them.Sebastian Thiel committed 4 years ago5df2a2a
  5. fix: `File::remove_section()` was fixed to allow re-adding a similarly named section.Sebastian Thiel committed 4 years agoe533993
  6. improve clarity docs related to mutating sectionsSebastian Thiel committed 4 years ago769e897
  7. make fmtSebastian Thiel committed 4 years ago535e967
  8. fix: Properly handle boolean values such that `a` is true but `a=` is false. (#450)Sebastian Thiel committed 4 years ago08c50a4
  9. fix: Keep track of a severe limitation and prepare tests for fixing it. (#450)Sebastian Thiel committed 4 years ago7c58516
  10. feat!: `file::SectionMut::push()` now supports values without key-value separator. (#450)Sebastian Thiel committed 4 years agob6cd6ac
  11. feat: `File::set_raw_value_filter()` to set values only in sections passing a filter. (#450)Sebastian Thiel committed 4 years ago9937d0e
  12. feat: `File::section_mut_or_create_new_filter()` to allow chosing which sections to add values to. (#450)Sebastian Thiel committed 4 years ago17455c9
  13. change!: Add `File::set_raw_value()` to unconditionally set single values, and make the value itself easier to provide. (#450)Sebastian Thiel committed 4 years ago2b2357e
  14. feat: `File::section_mut_or_create_new(…)` to obtain an existing or new section for mutation. (#450)Sebastian Thiel committed 4 years ago5902f54
  15. rename!: `File::set_raw_[multi_]value()` to `::set_existing_raw_[multi_]value`. (#450)Sebastian Thiel committed 4 years ago69ec594
  16. make fmtSebastian Thiel committed 4 years ago47724c0
  17. Fix typosKian-Meng Ang committed 4 years agoe9fcb70
  18. first sketch of using configuration and environment variables for author/committer (#331)Sebastian Thiel committed 4 years ago330d0a1
  19. Serialize lossily-read configuration files correctly anyway. (#331)Sebastian Thiel committed 4 years agocfda0c3
  20. finally proper whitespace handling in all the right places for perfect roundtripping to/from string (#331)Sebastian Thiel committed 4 years ago97e5ede
  21. serializations maintains some invariants about whitespace where possible. (#331)Sebastian Thiel committed 4 years agoee10dd5
  22. refactor (#331)Sebastian Thiel committed 4 years ago9c248ee
  23. feat: `File` now compares actual content, ignoring whitespace and comments. (#331)Sebastian Thiel committed 4 years ago14a68a6
  24. fix: maintain insertion order of includes on per-section basis at least. (#331)Sebastian Thiel committed 4 years ago6c1588f
  25. allow insertion of sections while preserving order (#331)Sebastian Thiel committed 4 years agof5580a3
  26. fix: maintain newline format depending on what's present or use platform default. (#331)Sebastian Thiel committed 4 years agof7bd2ca
  27. prepare for passing through newline (#331)Sebastian Thiel committed 4 years ago3c06f88
  28. feat: Add `File::detect_newline_style()`, which does at it says. (#331)Sebastian Thiel committed 4 years ago26147a7
  29. feat: `File::frontmatter()` and `File::sections_and_postmatter()`. (#331)Sebastian Thiel committed 4 years ago0ad1c9a
  30. thanks clippySebastian Thiel committed 4 years agoe5ba0f5
  31. feat!: add `_filter()` versions to most access methods. (#331)Sebastian Thiel committed 4 years ago1ea26d8
  32. even better handling of newlines (#331)Sebastian Thiel committed 4 years ago50c1753
  33. refactor (#331)Sebastian Thiel committed 4 years agodf94c67
  34. feat: `parse::Event::to_bstr_lossy()` to get a glimpse at event content. (#331)Sebastian Thiel committed 4 years agofc7e311
  35. finally fix newline behaviour (#331)Sebastian Thiel committed 4 years agoc70e135