MCPcopy
hub / github.com/openpubkey/opkssh / printf

Method printf

commands/inspect.go:34–39  ·  view source on GitHub ↗

printf formats a string to the configured output.

(format string, a ...any)

Source from the content-addressed store, hash-verified

32
33// printf formats a string to the configured output.
34func (i *InspectCmd) printf(format string, a ...any) {
35 if _, err := fmt.Fprintf(i.Output, format, a...); err != nil {
36 // Fall back to stdout
37 i.printf(format, a...)
38 }
39}
40
41func (i *InspectCmd) Run() error {
42 // Check if the input is a file path

Callers 7

TestInspectCmdPrintfFunction · 0.95
inspectCertificateMethod · 0.95
inspectPublicKeyMethod · 0.95
inspectPKTokenMethod · 0.95
printJSONMethod · 0.95
printJSONObjectMethod · 0.95
printTokenMetadataMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestInspectCmdPrintfFunction · 0.76