MCPcopy Create free account
hub / github.com/celer-pkg/celer / validateTargets

Method validateTargets

cmds/cmd_clean.go:112–117  ·  view source on GitHub ↗
(targets []string)

Source from the content-addressed store, hash-verified

110}
111
112func (c *cleanCmd) validateTargets(targets []string) error {
113 if len(targets) == 0 {
114 return errors.New("no package or project specified")
115 }
116 return nil
117}
118
119func (c *cleanCmd) clean(targets ...string) error {
120 var summaries []string

Callers 2

executeMethod · 0.95

Calls 1

NewFunction · 0.92

Tested by 1