Commit 68d5792
authored
refactor(internal/repometadata): make FromAPI private (#4794)
FromAPI is made private and renamed to fromAPI within the repometadata
package. All external callers are updated to use the more comprehensive
FromLibrary function which handles API lookup internally.
This refactoring ensures that API discovery and validation are handled
consistently by the repometadata package. Tests for the Java
post-processor are updated to provide the required language
configuration for the new FromLibrary calls.
Fixes #44281 parent 1598047 commit 68d5792
4 files changed
Lines changed: 10 additions & 14 deletions
File tree
- internal
- librarian
- java
- nodejs
- repometadata
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 244 | | |
249 | 245 | | |
250 | 246 | | |
| |||
316 | 312 | | |
317 | 313 | | |
318 | 314 | | |
319 | | - | |
| 315 | + | |
320 | 316 | | |
321 | 317 | | |
322 | 318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | | - | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments