MCPcopy Index your code
hub / github.com/perkeep/perkeep / checkFlags

Method checkFlags

dev/devcam/mount.go:126–131  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

124}
125
126func (c *mountCmd) checkFlags(args []string) error {
127 if _, err := strconv.ParseInt(c.port, 0, 0); err != nil {
128 return fmt.Errorf("Invalid -port value: %q", c.port)
129 }
130 return nil
131}

Callers 1

RunCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected