func (up *Uploader) UploadShare(target *blobref.BlobRef, transitive bool) (*client.PutResult, os.Error) { unsigned := schema.NewShareRef(schema.ShareHaveRef, target, transitive) signed, err := up.SignMap(unsigned) if err != nil { return nil, err } return up.Upload(client.NewUploadHandleFromString(signed)) }
func (up *Uploader) UploadShare(target *blobref.BlobRef, transitive bool) (*client.PutResult, os.Error) { unsigned := schema.NewShareRef(schema.ShareHaveRef, target, transitive) return up.UploadAndSignMap(unsigned) }