MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / IsBlockIdTermDurable

Function IsBlockIdTermDurable

pkg/jobcontroller/jobcontroller.go:1393–1399  ·  view source on GitHub ↗
(blockId string)

Source from the content-addressed store, hash-verified

1391}
1392
1393func IsBlockIdTermDurable(blockId string) bool {
1394 block, err := wstore.DBGet[*waveobj.Block](context.Background(), blockId)
1395 if err != nil || block == nil {
1396 return false
1397 }
1398 return IsBlockTermDurable(block)
1399}
1400
1401func DeleteJob(ctx context.Context, jobId string) error {
1402 SetJobConnStatus(jobId, JobConnStatus_Disconnected)

Callers 1

ResyncControllerFunction · 0.92

Calls 2

DBGetFunction · 0.92
IsBlockTermDurableFunction · 0.85

Tested by

no test coverage detected