(tx *bolt.Tx, ns, ref string)
| 292 | } |
| 293 | |
| 294 | func getRef(tx *bolt.Tx, ns, ref string) string { |
| 295 | bkt := getIngestBucket(tx, ns, ref) |
| 296 | if bkt == nil { |
| 297 | return "" |
| 298 | } |
| 299 | v := bkt.Get(bucketKeyRef) |
| 300 | if len(v) == 0 { |
| 301 | return "" |
| 302 | } |
| 303 | return string(v) |
| 304 | } |
| 305 | |
| 306 | func (cs *contentStore) Status(ctx context.Context, ref string) (content.Status, error) { |
| 307 | ns, err := namespaces.NamespaceRequired(ctx) |
no test coverage detected
searching dependent graphs…