Esempio n. 1
0
func (c *removeCmd) RunCommand(up *Uploader, args []string) error {
	if len(args) == 0 {
		return ErrUsage
	}
	return up.RemoveBlobs(blobref.ParseMulti(args))
}
Esempio n. 2
0
func (c *removeCmd) RunCommand(args []string) error {
	if len(args) == 0 {
		return cmdmain.ErrUsage
	}
	return getUploader().RemoveBlobs(blobref.ParseMulti(args))
}