Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PuerNya/git-proxy
/ Update
Method
Update
main.go:195–200 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
193
}
194
195
func
(c *CertContainer) Update() {
196
Cert, err := tls.X509KeyPair(c.CertPEM, c.KeyPEM)
197
if
err == nil {
198
c.Cert = Cert
199
}
200
}
201
202
func
(c *CertContainer) Close() {
203
if
c.CertWatcher != nil {
Callers
1
NewCertContainer
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected