func (c *Client) UploadResourceWithRevision(
	id *charm.URL,
	name string,
	rev int,
	path string,
	file io.ReaderAt,
	size int64,
	progress Progress,
) (revision int, err error) {
	return c.ResumeUploadResourceWithRevision("", id, name, rev, path, file, size, progress)
}
// UploadResourceWithRevision is like UploadResource except that it
// puts the resource at a known revision, useful when transferring
// resources between charm store instances.
UploadResourceWithRevision is like UploadResource except that it
puts the resource at a known revision, useful when transferring
resources between charm store instances.
// UploadResourceWithRevision is like UploadResource except that it // puts the resource at a known revision useful when transferring // resources between charm store instances .
func (c *Client) UploadResourceWithRevision(
	id *charm.URL,
	name string,
	rev int,
	path string,
	file io.ReaderAt,
	size int64,
	progress Progress,
) (revision int, err error) {
	return c.ResumeUploadResourceWithRevision("", id, name, rev, path, file, size, progress)
}
func ( c * Client ) UploadResourceWithRevision ( id * charm . URL , name string , rev int , path string , file io . ReaderAt , size int64 , progress Progress , ) ( revision int , err error ) { return c . ResumeUploadResourceWithRevision ( " " , id , name , rev , path , file , size , progress ) }
UploadResourceWithRevision is like UploadResource except that it
puts the resource at a known revision, useful when transferring
resources between charm store instances.
UploadResourceWithRevision is like UploadResource except that it puts the resource at a known revision useful when transferring resources between charm store instances .