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

Function newEnvProfileProv

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

Source from the content-addressed store, hash-verified

143}
144
145func newEnvProfileProv(id string, cfg *config.EnvProfile, certBytes []byte, provBytes []byte) *envProfile {
146 return &envProfile{
147 id: id,
148 name: cfg.Name,
149 prov: provBytes,
150 certPass: cfg.CertPass,
151 originalCert: certBytes,
152 }
153}
154
155func newEnvProfileAccount(id string, cfg *config.EnvProfile, certBytes []byte) *envProfile {
156 return &envProfile{

Callers 1

parseEnvProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected