(c *cli.Context)
| 1241 | } |
| 1242 | |
| 1243 | func parseChecksumFlags(c *cli.Context) []*cos.Cksum { |
| 1244 | cksums := []*cos.Cksum{} |
| 1245 | for _, ckflag := range supportedCksumFlags { |
| 1246 | if flagIsSet(c, ckflag) { |
| 1247 | cksums = append(cksums, cos.NewCksum(ckflag.GetName(), parseStrFlag(c, ckflag))) |
| 1248 | } |
| 1249 | } |
| 1250 | return cksums |
| 1251 | } |
| 1252 | |
| 1253 | func flattenXactStats(snap *xact.SnapExt) []*prop { |
| 1254 | props := make([]*prop, 0) |
no test coverage detected