MCPcopy
hub / github.com/harness/harness / Validate

Method Validate

git/common.go:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (p ReadParams) Validate() error {
28 if p.RepoUID == "" {
29 return errors.InvalidArgument("repository id cannot be empty")
30 }
31 return nil
32}
33
34// WriteParams contains the base parameters for write operations.
35type WriteParams struct {

Callers

nothing calls this directly

Calls 1

InvalidArgumentFunction · 0.92

Tested by

no test coverage detected