Commit f04d947
committed
refactor(registry): replace fs with fileHandler
- Improved file handling using FileHandler
- Enhanced error handling for file operations
- Simplified updater loading process
- Added readDir method to FileHandler
- Updated tests for UpdaterRegistry1 parent 344beb5 commit f04d947
5 files changed
Lines changed: 61 additions & 11 deletions
File tree
- dist
- src
- registry
- utils
- tests/registry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
32903 | 32903 | | |
32904 | 32904 | | |
32905 | 32905 | | |
32906 | | - | |
| 32906 | + | |
32907 | 32907 | | |
32908 | 32908 | | |
32909 | 32909 | | |
32910 | 32910 | | |
32911 | 32911 | | |
32912 | 32912 | | |
| 32913 | + | |
32913 | 32914 | | |
32914 | 32915 | | |
32915 | 32916 | | |
32916 | 32917 | | |
32917 | | - | |
32918 | | - | |
32919 | | - | |
| 32918 | + | |
| 32919 | + | |
32920 | 32920 | | |
32921 | 32921 | | |
32922 | 32922 | | |
| |||
33374 | 33374 | | |
33375 | 33375 | | |
33376 | 33376 | | |
| 33377 | + | |
| 33378 | + | |
| 33379 | + | |
| 33380 | + | |
| 33381 | + | |
| 33382 | + | |
| 33383 | + | |
| 33384 | + | |
| 33385 | + | |
| 33386 | + | |
| 33387 | + | |
| 33388 | + | |
33377 | 33389 | | |
33378 | 33390 | | |
33379 | 33391 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
39 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments