(raw string)
| 63 | } |
| 64 | |
| 65 | func decodePersistedCallID(raw string) (*call.ID, error) { |
| 66 | if raw == "" { |
| 67 | return nil, nil |
| 68 | } |
| 69 | var id call.ID |
| 70 | if err := id.Decode(raw); err != nil { |
| 71 | return nil, fmt.Errorf("decode persisted call ID: %w", err) |
| 72 | } |
| 73 | return &id, nil |
| 74 | } |
| 75 | |
| 76 | func loadPersistedResultByResultID(ctx context.Context, dag *dagql.Server, resultID uint64, label string) (dagql.AnyResult, error) { |
| 77 | if resultID == 0 { |
no test coverage detected