(g sqlitedb.GraphEncryptKey)
| 170 | } |
| 171 | |
| 172 | func toGraphEncryptKey(g sqlitedb.GraphEncryptKey) *db.GraphEncryptKey { |
| 173 | return &db.GraphEncryptKey{ |
| 174 | EncryptedPrivateKey: g.EncryptedPrivateKey, |
| 175 | PublicKey: g.PublicKey, |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | func (d *DB) SetFileMeta(ctx context.Context, gID db.GraphID, md *db.FileMeta) error { |
| 180 | if md.ID == "" { |
nothing calls this directly
no outgoing calls
no test coverage detected