(g sqlitedb.GraphSalt)
| 140 | } |
| 141 | |
| 142 | func toGraphSalt(g sqlitedb.GraphSalt) *db.GraphSalt { |
| 143 | return &db.GraphSalt{ |
| 144 | Value: g.Value, |
| 145 | ExpiredAt: g.ExpiresAt, |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | func (d *DB) AddGraphEncryptKey(ctx context.Context, gID db.GraphID, gek *db.GraphEncryptKey) error { |
| 150 | id := uuid.NewString() |
nothing calls this directly
no outgoing calls
no test coverage detected