vsphere/internal/virtualdevice/virtual_machine_disk_subresource.go
func (r *DiskSubresource) String() string {
	p := diskPathOrName(r.data)
	if p == "" {
		p = "<unknown>"
	}
	return fmt.Sprintf("%s (%s)", r.Subresource.String(), p)
}
func (r *DiskSubresource) String() string {
	p := diskPathOrName(r.data)
	if p == "" {
		p = "<unknown>"
	}
	return fmt.Sprintf("%s (%s)", r.Subresource.String(), p)
}
func ( r * DiskSubresource ) String ( ) string { p := diskPathOrName ( r . data ) if p == " " { p = " " } return fmt . Sprintf ( " " , r . Subresource . String ( ) , p ) }
// String prints out the disk sub-resource's information including the ID at
// time of instantiation, the path of the disk, and the current device
// key and address.
String prints out the disk sub - resource s information including the ID at time of instantiation the path of the disk and the current device key and address .