Commit 32d81bb
committed
refactor(index-context): consolidate directory indexing methods into single function
BREAKING CHANGE: The IndexContext::from_dir_recursive method has been removed
and replaced with a boolean parameter in the from_dir method.
- Replace separate from_dir and from_dir_recursive methods with unified
from_dir(path, recursive) method
- Update Python binding to use the new unified method signature
- Update documentation examples to reflect the new API
- Rename test function to match new naming convention1 parent df2557a commit 32d81bb
File tree
4 files changed
+14
-32
lines changed- python/src
- rust
- examples
- src
- client
4 files changed
+14
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 229 | + | |
234 | 230 | | |
235 | 231 | | |
236 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 49 | + | |
| 50 | + | |
56 | 51 | | |
57 | 52 | | |
58 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 140 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
150 | 144 | | |
151 | 145 | | |
152 | 146 | | |
| |||
340 | 334 | | |
341 | 335 | | |
342 | 336 | | |
343 | | - | |
| 337 | + | |
344 | 338 | | |
345 | 339 | | |
346 | 340 | | |
| |||
357 | 351 | | |
358 | 352 | | |
359 | 353 | | |
360 | | - | |
| 354 | + | |
361 | 355 | | |
362 | 356 | | |
363 | 357 | | |
364 | | - | |
| 358 | + | |
365 | 359 | | |
366 | 360 | | |
367 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 80 | | |
84 | | - | |
| 81 | + | |
0 commit comments