Method
GraphEncryptKeys
(_ context.Context, id db.GraphID)
Source from the content-addressed store, hash-verified
| 136 | } |
| 137 | |
| 138 | func (d *DB) GraphEncryptKeys(_ context.Context, id db.GraphID) ([]*db.GraphEncryptKey, error) { |
| 139 | g, ok := d.graphs[id] |
| 140 | if !ok { |
| 141 | return nil, db.NotExists("graph", id) |
| 142 | } |
| 143 | return g.keys, nil |
| 144 | } |
| 145 | |
| 146 | func (d *DB) SetFileMeta(_ context.Context, id db.GraphID, md *db.FileMeta) error { |
| 147 | if md.ID == "" { |
Callers
nothing calls this directly
Tested by
no test coverage detected