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