Commit 243b041
committed
Replace deprecated io/ioutil with modern os/io equivalents
Replaces ioutil.ReadFile, TempDir and ReadDir calls with their Go 1.16+
replacements in os package. Removes the io/ioutil import from all
affected files.1 parent 832aa72 commit 243b041
2 files changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
650 | 649 | | |
651 | 650 | | |
652 | 651 | | |
653 | | - | |
| 652 | + | |
654 | 653 | | |
655 | 654 | | |
656 | 655 | | |
| |||
666 | 665 | | |
667 | 666 | | |
668 | 667 | | |
669 | | - | |
| 668 | + | |
670 | 669 | | |
671 | 670 | | |
672 | 671 | | |
| |||
0 commit comments