func (c *Client) ListResources(id *charm.URL) ([]params.Resource, error) {
	var result []params.Resource
	if err := c.Get("/"+id.Path()+"/meta/resources", &result); err != nil {
		return nil, errgo.NoteMask(err, "cannot get resource metadata from the charm store", isAPIError)
	}
	return result, nil
}
// ListResources retrieves the metadata about resources for the given charms.
// It returns a slice with an element for each of the given ids, holding the
// resources for the respective id.
ListResources retrieves the metadata about resources for the given charms.
It returns a slice with an element for each of the given ids, holding the
resources for the respective id.
// ListResources retrieves the metadata about resources for the given charms . // It returns a slice with an element for each of the given ids holding the // resources for the respective id .
func (c *Client) ListResources(id *charm.URL) ([]params.Resource, error) {
	var result []params.Resource
	if err := c.Get("/"+id.Path()+"/meta/resources", &result); err != nil {
		return nil, errgo.NoteMask(err, "cannot get resource metadata from the charm store", isAPIError)
	}
	return result, nil
}
func ( c * Client ) ListResources ( id * charm . URL ) ( [ ] params . Resource , error ) { var result [ ] params . Resource if err := c . Get ( " " + id . Path ( ) + " " , & result ) ; err != nil { return nil , errgo . NoteMask ( err , " " , isAPIError ) } return result , nil }
ListResources retrieves the metadata about resources for the given charms.
ListResources retrieves the metadata about resources for the given charms .