MCPcopy Create free account
hub / github.com/RiotGames/key-conjurer / ExportEnvironmentVariable

Method ExportEnvironmentVariable

command/credentials.go:86–88  ·  view source on GitHub ↗
(w io.Writer, key, value string)

Source from the content-addressed store, hash-verified

84
85type bashWriter struct{}
86
87func (bashWriter) ExportEnvironmentVariable(w io.Writer, key, value string) (int, error) {
88 return fmt.Fprintf(w, "export %s=%s\n", key, value)
89}
90
91type powershellWriter struct{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected