MCPcopy Create free account
hub / github.com/belak/gitdir / String

Method String

models/public_key.go:51–53  ·  view source on GitHub ↗

String implements fmt.Stringer.

()

Source from the content-addressed store, hash-verified

49
50// String implements fmt.Stringer.
51func (pk *PublicKey) String() string {
52 return pk.MarshalAuthorizedKey()
53}
54
55// RawMarshalAuthorizedKey converts a key to the authorized keys format,
56// without the comment.

Callers

nothing calls this directly

Calls 1

MarshalAuthorizedKeyMethod · 0.95

Tested by

no test coverage detected