Commit 70116aa
authored
perf: improve GetDefaultTUFOptions logic (#108)
Note: this little change allow to use 'root.json' if the file is
available in the cache. This strategy allows fix the behavior where the
`root.json` included is tuf package has higher precedence over the
version downloaded from the remote. In some circumstance the content
embedded in tuf package is outdated and should not been taken in account.1 parent 6355e60 commit 70116aa
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
0 commit comments