Commit 149d310
committed
change: Adjust gix::dirwalk::Options::{X,set_X} parameter names
This adjusts the names of parameters to `X` and `set_X` methods of
`gix::dirwalk::Options` (where `X` is an option name) to use a
systematic naming convention:
- For the same option `X`, the `X` and `set_X` methods now always
have the same name of the parameter that specifies a value for an
option.
- Options whose type is `bool` are named `toggle`, in keeping with
the prevailing convention in this code.
- Options of `Option` type are named `value` (this required no
changes).
- Options of a non-`Option` type `*Mode` -- currently this is just
`EmissionMode` -- are named `mode`.1 parent 1bd8d52 commit 149d310
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
| 123 | + | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
| 183 | + | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
0 commit comments