Code

History

Commits on git-commitgraph-v0.8.0 to git-config/src/file/access35+
  1. first sketch of using configuration and environment variables for author/committer (#331)Sebastian Thiel committed 4 years ago330d0a1
  2. Serialize lossily-read configuration files correctly anyway. (#331)Sebastian Thiel committed 4 years agocfda0c3
  3. finally proper whitespace handling in all the right places for perfect roundtripping to/from string (#331)Sebastian Thiel committed 4 years ago97e5ede
  4. serializations maintains some invariants about whitespace where possible. (#331)Sebastian Thiel committed 4 years agoee10dd5
  5. refactor (#331)Sebastian Thiel committed 4 years ago9c248ee
  6. feat: `File` now compares actual content, ignoring whitespace and comments. (#331)Sebastian Thiel committed 4 years ago14a68a6
  7. fix: maintain insertion order of includes on per-section basis at least. (#331)Sebastian Thiel committed 4 years ago6c1588f
  8. allow insertion of sections while preserving order (#331)Sebastian Thiel committed 4 years agof5580a3
  9. fix: maintain newline format depending on what's present or use platform default. (#331)Sebastian Thiel committed 4 years agof7bd2ca
  10. prepare for passing through newline (#331)Sebastian Thiel committed 4 years ago3c06f88
  11. feat: Add `File::detect_newline_style()`, which does at it says. (#331)Sebastian Thiel committed 4 years ago26147a7
  12. feat: `File::frontmatter()` and `File::sections_and_postmatter()`. (#331)Sebastian Thiel committed 4 years ago0ad1c9a
  13. thanks clippySebastian Thiel committed 4 years agoe5ba0f5
  14. feat!: add `_filter()` versions to most access methods. (#331)Sebastian Thiel committed 4 years ago1ea26d8
  15. even better handling of newlines (#331)Sebastian Thiel committed 4 years ago50c1753
  16. refactor (#331)Sebastian Thiel committed 4 years agodf94c67
  17. feat: `parse::Event::to_bstr_lossy()` to get a glimpse at event content. (#331)Sebastian Thiel committed 4 years agofc7e311
  18. finally fix newline behaviour (#331)Sebastian Thiel committed 4 years agoc70e135
  19. Be smarter about which newline style to use by guessing it based onprior events (#331)Sebastian Thiel committed 4 years ago25ed92e
  20. feat: `File::append()` can append one file to another rather losslessly. (#331)Sebastian Thiel committed 4 years ago09966a8
  21. feat: `File::sections()` to obtain an iterator over all sections, in order. (#331)Sebastian Thiel committed 4 years ago6f97bf0
  22. change!: Associate `file::Metadata` with each `File`. (#331)Sebastian Thiel committed 4 years ago6f4eea9
  23. change!: rename `file::SectionBody` to `file::section::Body`. (#331)Sebastian Thiel committed 4 years agob672ed7
  24. change!: Remove `File::sections_by_name_with_header()` as `::sections_by_name()` now returns entire sections. (#331)Sebastian Thiel committed 4 years ago3bea26d
  25. change!: All accessors in `File` are now using `impl AsRef<str>` where possible for added comfort. (#331)Sebastian Thiel committed 4 years ago3de0cfd
  26. change!: Much more comfortable API `file::*Mut` types thanks to `impl Into/AsRef`. (#331)Sebastian Thiel committed 4 years ago3d25fe6
  27. change!: Rename `Mutable*` into `$1Mut` for consistency. (#331)Sebastian Thiel committed 4 years ago393b392
  28. refactor (#331)Sebastian Thiel committed 4 years ago701266e
  29. make fmtSebastian Thiel committed 4 years agoaa9fdb0
  30. change!: conform APIs of `file::MutableValue` and `file::MutableMultiValue`. (#331)Sebastian Thiel committed 4 years ago0a7391a
  31. feat: place spaces around `key = value` pairs, or whatever is used in the source configuration. (#331)Sebastian Thiel committed 4 years ago5418bc7
  32. avoid extra copies when setting values and escaping them (#331)Sebastian Thiel committed 4 years agoa7eff01
  33. thanks clippySebastian Thiel committed 4 years agobadd00c
  34. default space is just a single tab, not two ones (#331)Sebastian Thiel committed 4 years ago7e03b83
  35. refactor (#331)Sebastian Thiel committed 4 years agoafa736a