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

Method checkFlags

dev/devcam/get.go:107–112  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

105}
106
107func (c *getCmd) checkFlags(args []string) error {
108 if _, err := strconv.ParseInt(c.port, 0, 0); err != nil {
109 return fmt.Errorf("Invalid -port value: %q", c.port)
110 }
111 return nil
112}
113
114func isSharedMode(args []string) bool {
115 sharedRgx := regexp.MustCompile("--?shared")

Callers 1

RunCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected