MCPcopy
hub / github.com/larksuite/cli / markdownInvalidParam

Function markdownInvalidParam

shortcuts/markdown/markdown_errors.go:20–22  ·  view source on GitHub ↗
(name, reason string)

Source from the content-addressed store, hash-verified

18}
19
20func markdownInvalidParam(name, reason string) errs.InvalidParam {
21 return errs.InvalidParam{Name: name, Reason: reason}
22}
23
24// withMarkdownFileParam tags a validation failure with the originating flag
25// when it does not already name one. Shared input-file helpers such as

Callers 2

validateMarkdownSpecFunction · 0.85
validateMarkdownDiffSpecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected