func (bd *BundleData) RequiredCharms() []string {
	req := make([]string, 0, len(bd.Applications))
	for _, svc := range bd.Applications {
		req = append(req, svc.Charm)
	}
	sort.Strings(req)
	return req
}
// RequiredCharms returns a sorted slice of all the charm URLs
// required by the bundle.
RequiredCharms returns a sorted slice of all the charm URLs
required by the bundle.
// RequiredCharms returns a sorted slice of all the charm URLs // required by the bundle .
func (bd *BundleData) RequiredCharms() []string {
	req := make([]string, 0, len(bd.Applications))
	for _, svc := range bd.Applications {
		req = append(req, svc.Charm)
	}
	sort.Strings(req)
	return req
}
func ( bd * BundleData ) RequiredCharms ( ) [ ] string { req := make ( [ ] string , 0 , len ( bd . Applications ) ) for _ , svc := range bd . Applications { req = append ( req , svc . Charm ) } sort . Strings ( req ) return req }
RequiredCharms returns a sorted slice of all the charm URLs
required by the bundle.
RequiredCharms returns a sorted slice of all the charm URLs required by the bundle .