MCPcopy Create free account
hub / github.com/SignTools/SignTools / newEnvProfileAccount

Function newEnvProfileAccount

src/storage/profile_env.go:155–164  ·  view source on GitHub ↗
(id string, cfg *config.EnvProfile, certBytes []byte)

Source from the content-addressed store, hash-verified

153}
154
155func newEnvProfileAccount(id string, cfg *config.EnvProfile, certBytes []byte) *envProfile {
156 return &envProfile{
157 id: id,
158 name: cfg.Name,
159 certPass: cfg.CertPass,
160 originalCert: certBytes,
161 accountName: cfg.AccountName,
162 accountPass: cfg.AccountPass,
163 }
164}
165
166func (p *envProfile) GetId() string {
167 return p.id

Callers 1

parseEnvProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected