Commit graph

55 commits

Author SHA1 Message Date
493729cc3c
normalize get_raw_value 2021-02-28 21:07:02 -05:00
c01b61cb11
fix get_raw_value, fix returning refs to cows 2021-02-28 20:42:54 -05:00
5720ccd003
cleanup docs 2021-02-27 23:50:58 -05:00
185e1129bc
add tests and docs 2021-02-27 23:46:56 -05:00
42a20c3dad
rename config mod to file 2021-02-27 23:21:33 -05:00
0ce311a1eb
pendantic clippy lints 2021-02-27 23:19:25 -05:00
3ff68bfaf8
remove unnecessarily lifetimes 2021-02-27 22:22:33 -05:00
bfd4172e48
use str in most cases 2021-02-27 22:18:44 -05:00
65744b0e13
fully comment values 2021-02-27 19:55:19 -05:00
37cead20f3
more normalize docs 2021-02-27 19:14:49 -05:00
267c53f15d
collaspe if block 2021-02-27 19:07:50 -05:00
60f95a0358
better doc 2021-02-27 19:01:01 -05:00
99f0400118
implement unquoting in normalize 2021-02-27 18:48:05 -05:00
300fb6bbfb
add normalize 2021-02-27 15:40:11 -05:00
48d41b81e9
dedup multivar docs 2021-02-27 11:13:20 -05:00
bac41a802a
add todo 2021-02-27 00:10:43 -05:00
16496d91a1
Implement get_value for GitConfig 2021-02-26 23:33:38 -05:00
3e97f07b28
Use traits instead of from_str 2021-02-26 21:44:58 -05:00
a50544b43a
Use traits instead of shadowing from_str 2021-02-26 21:32:37 -05:00
781040a88b
remove falsevariant 2021-02-26 21:24:55 -05:00
83c4757e36
more tests 2021-02-26 20:50:52 -05:00
2fadd81287
remove unreachable variants 2021-02-26 20:36:21 -05:00
17ba292934
use mut vec reference 2021-02-26 19:30:04 -05:00
6b8386d449
Don't use mutex 2021-02-26 18:54:35 -05:00
531b28ed2b
documented parsererror 2021-02-26 18:35:49 -05:00
ba312b9244
clippy fixes 2021-02-26 18:14:40 -05:00
df69cf8dba
don't use stack for error handling 2021-02-26 18:10:24 -05:00
6b9fb8f8e5
very rough error handling 2021-02-25 11:11:26 -05:00
23e2a37785
add error trait impl for ParserError 2021-02-24 23:23:23 -05:00
a10567e770
Basic error reporting 2021-02-24 23:19:45 -05:00
42a48efe9d
move fully_sumed to test_util 2021-02-24 18:00:15 -05:00
f99da79ad9
add from_bytes variants for parser 2021-02-24 16:30:04 -05:00
19cb3117eb
add tests for boolean 2021-02-24 15:47:35 -05:00
3094dfd2c0
select nom features 2021-02-24 12:30:49 -05:00
75a99679a2
make serde optional, clippy lints 2021-02-24 12:11:18 -05:00
3f8fdd74dc
Add ColorValue tests 2021-02-23 21:02:17 -05:00
a53a056cea
Add tests for ColorAttribute 2021-02-23 20:45:13 -05:00
6c2385d394
Fix docs 2021-02-23 20:22:15 -05:00
ea0f76d528
Use BStr instead 2021-02-23 19:47:24 -05:00
f82d32953e
Add key-value delimination event 2021-02-23 11:30:48 -05:00
f10afb7894
gitconfig writing to string 2021-02-21 21:16:08 -05:00
7f7a7e073d
document multivar behavior better 2021-02-21 19:08:27 -05:00
6a99b1caa0
Use Cow instead of strs 2021-02-21 14:43:41 -05:00
eaa0a1766b
Implement get_mut for gitconfig 2021-02-20 20:41:34 -05:00
fcda1d4666
remove meme comment 2021-02-20 14:12:08 -05:00
3bd46913d3
test get_raw_values 2021-02-20 14:10:23 -05:00
594ee8ac0c
finish raw value queries for gitconfig 2021-02-20 13:49:01 -05:00
2fb1fa3ff4
Handle empty git-config file for parser 2021-02-20 12:01:38 -05:00
93e6e2eed3
fully document parser 2021-02-20 02:28:50 -05:00
1c770a9560
completely refactor config 2021-02-20 00:33:17 -05:00