func (StoreCharmStore) Validate(curl *charm.URL) error {
	if charm.CharmStore != charm.Schema(curl.Schema) {
		return errors.Errorf("only charm store charm URLs are supported, with cs: schema")
	}
	return nil
}
// Validate checks to ensure that the schema is valid for the store.
Validate checks to ensure that the schema is valid for the store.
// Validate checks to ensure that the schema is valid for the store .
func (StoreCharmStore) Validate(curl *charm.URL) error {
	if charm.CharmStore != charm.Schema(curl.Schema) {
		return errors.Errorf("only charm store charm URLs are supported, with cs: schema")
	}
	return nil
}
func ( StoreCharmStore ) Validate ( curl * charm . URL ) error { if charm . CharmStore != charm . Schema ( curl . Schema ) { return errors . Errorf ( " " ) } return nil }
Validate checks to ensure that the schema is valid for the store.
Validate checks to ensure that the schema is valid for the store .