package imagedata

import "devel.mephi.ru/iacherepanov/openstack-gophercloud"

// `imageDataURL(c,i)` is the URL for the binary image data for the
// image identified by ID `i` in the service `c`.
func uploadURL(c *gophercloud.ServiceClient, imageID string) string {
	return c.ServiceURL("images", imageID, "file")
}

func downloadURL(c *gophercloud.ServiceClient, imageID string) string {
	return uploadURL(c, imageID)
}
