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