storage/storage_reference.go
func (s storageReference) StringWithinTransport() string {
	optionsList := ""
	options := s.transport.store.GraphOptions()
	if len(options) > 0 {
		optionsList = ":" + strings.Join(options, ",")
	}
	res := "[" + s.transport.store.GraphDriverName() + "@" + s.transport.store.GraphRoot() + "+" + s.transport.store.RunRoot() + optionsList + "]"
	if s.named != nil {
		res = res + s.named.String()
	}
	if s.id != "" {
		res = res + "@" + s.id
	}
	return res
}
func (s storageReference) StringWithinTransport() string {
	optionsList := ""
	options := s.transport.store.GraphOptions()
	if len(options) > 0 {
		optionsList = ":" + strings.Join(options, ",")
	}
	res := "[" + s.transport.store.GraphDriverName() + "@" + s.transport.store.GraphRoot() + "+" + s.transport.store.RunRoot() + optionsList + "]"
	if s.named != nil {
		res = res + s.named.String()
	}
	if s.id != "" {
		res = res + "@" + s.id
	}
	return res
}
func ( s storageReference ) StringWithinTransport ( ) string { optionsList := " " options := s . transport . store . GraphOptions ( ) if len ( options ) > 0 { optionsList = " " + strings . Join ( options , " " ) } res := " " + s . transport . store . GraphDriverName ( ) + " " + s . transport . store . GraphRoot ( ) + " " + s . transport . store . RunRoot ( ) + optionsList + " " if s . named != nil { res = res + s . named . String ( ) } if s . id != " " { res = res + " " + s . id } return res }
// Return a name with a tag, prefixed with the graph root and driver name, to
// disambiguate between images which may be present in multiple stores and
// share only their names.
Return a name with a tag prefixed with the graph root and driver name to disambiguate between images which may be present in multiple stores and share only their names .