MCPcopy Create free account
hub / github.com/diillson/chatcli / Set

Method Set

auth/keychain.go:67–72  ·  view source on GitHub ↗

Set stores a value in the keychain.

(account string, data []byte)

Source from the content-addressed store, hash-verified

65
66// Set stores a value in the keychain.
67func (ks *KeychainStore) Set(account string, data []byte) error {
68 if ks.useNative() {
69 return ks.nativeSet(account, data)
70 }
71 return fmt.Errorf("keychain: file backend — use auth/crypto.go directly")
72}
73
74// Delete removes a value from the keychain.
75func (ks *KeychainStore) Delete(account string) error {

Callers 15

RequestMethod · 0.45
InitializeLoggerFunction · 0.45
sanitizeURLMethod · 0.45
sanitizeBodyMethod · 0.45
SendPromptMethod · 0.45
ListModelsMethod · 0.45
doMantleRequestMethod · 0.45

Calls 3

useNativeMethod · 0.95
nativeSetMethod · 0.95
ErrorfMethod · 0.80