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