// GetStorageConfigs returns the current StorageConfigs for a FFS instance, filtered by cids, if provided.
GetStorageConfigs returns the current StorageConfigs for a FFS instance, filtered by cids, if provided.
// GetStorageConfigs returns the current StorageConfigs for a FFS instance filtered by cids if provided .
func (i *API) GetStorageConfigs(cids ...cid.Cid) (map[cid.Cid]ffs.StorageConfig, error) {
	configs, err := i.is.getStorageConfigs(cids...)
	if err == ErrNotFound {
		return nil, err
	}
	if err != nil {
		return nil, fmt.Errorf("getting cid configs from store: %s", err)
	}
	return configs, nil
}
func ( i * API ) GetStorageConfigs ( cids ... cid . Cid ) ( map [ cid . Cid ] ffs . StorageConfig , error ) { configs , err := i . is . getStorageConfigs ( cids ... ) if err == ErrNotFound { return nil , err } if err != nil { return nil , fmt . Errorf ( " " , err ) } return configs , nil }
GetStorageConfigs returns the current StorageConfigs for a FFS instance, filtered by cids, if provided.
GetStorageConfigs returns the current StorageConfigs for a FFS instance filtered by cids if provided .