MCPcopy Index your code
hub / github.com/apache/devlake / Sanitize

Method Sanitize

backend/plugins/github/models/connection.go:289–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287}
288
289func (conn *GithubConn) Sanitize() GithubConn {
290 conn.SanitizeTokens()
291 conn.SanitizeSecret()
292 return *conn
293}
294
295func (conn *GithubConn) SanitizeSecret() GithubConn {
296 if conn.SecretKey == "" {

Callers 4

InitFunction · 0.45
testExistingConnectionFunction · 0.45
SanitizeMethod · 0.45

Calls 2

SanitizeTokensMethod · 0.95
SanitizeSecretMethod · 0.95

Tested by

no test coverage detected