MCPcopy Create free account
hub / github.com/bytebase/bytebase / redactUser

Function redactUser

backend/api/v1/audit.go:645–654  ·  view source on GitHub ↗
(r *v1pb.User)

Source from the content-addressed store, hash-verified

643}
644
645func redactUser(r *v1pb.User) *v1pb.User {
646 if r == nil {
647 return nil
648 }
649 return &v1pb.User{
650 Name: r.Name,
651 Email: r.Email,
652 Title: r.Title,
653 }
654}
655
656func redactInstance(i *v1pb.Instance) *v1pb.Instance {
657 if i == nil {

Callers 4

getResponseStringFunction · 0.85
redactCreateUserRequestFunction · 0.85
redactUpdateUserRequestFunction · 0.85
redactLoginResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected