code: func (r V3Resource) ToV2Resource() Resource {
  	return Resource{
  		Filename: r.FilePath,
  		Mode:     r.Mode,
  		SHA1:     r.Checksum.Value,
  		Size:     r.SizeInBytes,
  	}
  }
docs: // ToV2Resource converts a V3 Resource to V2 Resource format