This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Commit b724619
committed
update-all: use common infrastructure
Update 'update-all.go' to use 'common.FileSystem' to get the path to the
'git-bundle-server' executable, and use 'cmd.CommandExecutor' to call
'git-bundle-server update'. The use of the common structures eliminate some
duplicate code as well as set up the command to be unit testable in the
future.
Signed-off-by: Victoria Dye <vdye@github.com>1 parent ae0f7b4 commit b724619
1 file changed
Lines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | | - | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 59 | + | |
66 | 60 | | |
67 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
68 | 64 | | |
| 65 | + | |
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
| |||
0 commit comments