File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,10 @@ func (manifest Manifest2822) String() string {
202
202
return strings .Join (ret , "\n \n " )
203
203
}
204
204
205
+ func (entry * Manifest2822Entry ) SetGitRepo (arch string , repo string ) {
206
+ entry .Paragraph .Values [arch + "-GitRepo" ] = repo
207
+ }
208
+
205
209
func (entry Manifest2822Entry ) ArchGitRepo (arch string ) string {
206
210
if val , ok := entry .Paragraph .Values [arch + "-GitRepo" ]; ok && val != "" {
207
211
return val
@@ -216,6 +220,10 @@ func (entry Manifest2822Entry) ArchGitFetch(arch string) string {
216
220
return entry .GitFetch
217
221
}
218
222
223
+ func (entry * Manifest2822Entry ) SetGitCommit (arch string , commit string ) {
224
+ entry .Paragraph .Values [arch + "-GitCommit" ] = commit
225
+ }
226
+
219
227
func (entry Manifest2822Entry ) ArchGitCommit (arch string ) string {
220
228
if val , ok := entry .Paragraph .Values [arch + "-GitCommit" ]; ok && val != "" {
221
229
return val
You can’t perform that action at this time.
0 commit comments