Code

History

Commits on git-commitgraph-v0.13.1 to git-config/src/file/access35+
  1. feat: add `File::set_meta()` to affect what metadata new sections receive. (#737)Sebastian Thiel committed 3 years ago3fa86e1
  2. fix: `File::section(...)` could panic due to invlid expectation. (#737)Sebastian Thiel committed 3 years ago8836f5a
  3. fix underflowSebastian Thiel committed 3 years ago4fc214a
  4. thanks clippySebastian Thiel committed 3 years ago9e04685
  5. make fmtSebastian Thiel committed 3 years ago747008d
  6. feat: comfort API like `string_by_key(key)` takes a key like `"remote.origin.url"`, add `section_by_key("remote.origin")` as well.Sebastian Thiel committed 3 years ago5fa9546
  7. fix!: subsections are identified as `&BStr` in entire API.Sebastian Thiel committed 3 years ago0c98ec8
  8. thanks clippySebastian Thiel committed 4 years ago04cfa63
  9. fix: `File::boolean()` now correctly handles implicit bools across sections. (#450)Sebastian Thiel committed 4 years ago839f776
  10. make fmtSebastian Thiel committed 4 years ago7b9c065
  11. feat: Add various methods to iterate sections along with their id, and mutate them.Sebastian Thiel committed 4 years ago5df2a2a
  12. fix: `File::remove_section()` was fixed to allow re-adding a similarly named section.Sebastian Thiel committed 4 years agoe533993
  13. improve clarity docs related to mutating sectionsSebastian Thiel committed 4 years ago769e897
  14. make fmtSebastian Thiel committed 4 years ago535e967
  15. fix: Properly handle boolean values such that `a` is true but `a=` is false. (#450)Sebastian Thiel committed 4 years ago08c50a4
  16. fix: Keep track of a severe limitation and prepare tests for fixing it. (#450)Sebastian Thiel committed 4 years ago7c58516
  17. feat!: `file::SectionMut::push()` now supports values without key-value separator. (#450)Sebastian Thiel committed 4 years agob6cd6ac
  18. feat: `File::set_raw_value_filter()` to set values only in sections passing a filter. (#450)Sebastian Thiel committed 4 years ago9937d0e
  19. feat: `File::section_mut_or_create_new_filter()` to allow chosing which sections to add values to. (#450)Sebastian Thiel committed 4 years ago17455c9
  20. 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
  21. feat: `File::section_mut_or_create_new(…)` to obtain an existing or new section for mutation. (#450)Sebastian Thiel committed 4 years ago5902f54
  22. rename!: `File::set_raw_[multi_]value()` to `::set_existing_raw_[multi_]value`. (#450)Sebastian Thiel committed 4 years ago69ec594
  23. make fmtSebastian Thiel committed 4 years ago47724c0
  24. Fix typosKian-Meng Ang committed 4 years agoe9fcb70
  25. first sketch of using configuration and environment variables for author/committer (#331)Sebastian Thiel committed 4 years ago330d0a1
  26. Serialize lossily-read configuration files correctly anyway. (#331)Sebastian Thiel committed 4 years agocfda0c3
  27. finally proper whitespace handling in all the right places for perfect roundtripping to/from string (#331)Sebastian Thiel committed 4 years ago97e5ede
  28. serializations maintains some invariants about whitespace where possible. (#331)Sebastian Thiel committed 4 years agoee10dd5
  29. refactor (#331)Sebastian Thiel committed 4 years ago9c248ee
  30. feat: `File` now compares actual content, ignoring whitespace and comments. (#331)Sebastian Thiel committed 4 years ago14a68a6
  31. fix: maintain insertion order of includes on per-section basis at least. (#331)Sebastian Thiel committed 4 years ago6c1588f
  32. allow insertion of sections while preserving order (#331)Sebastian Thiel committed 4 years agof5580a3
  33. fix: maintain newline format depending on what's present or use platform default. (#331)Sebastian Thiel committed 4 years agof7bd2ca
  34. prepare for passing through newline (#331)Sebastian Thiel committed 4 years ago3c06f88
  35. feat: Add `File::detect_newline_style()`, which does at it says. (#331)Sebastian Thiel committed 4 years ago26147a7