(oref: string)
| 276 | } |
| 277 | |
| 278 | function getSingleOrefAtomCache(oref: string): Map<string, Atom<any>> { |
| 279 | let orefCache = orefAtomCache.get(oref); |
| 280 | if (orefCache == null) { |
| 281 | orefCache = new Map<string, Atom<any>>(); |
| 282 | orefAtomCache.set(oref, orefCache); |
| 283 | } |
| 284 | return orefCache; |
| 285 | } |
| 286 | |
| 287 | // this function should be kept up to date with IsBlockTermDurable in pkg/jobcontroller/jobcontroller.go |
| 288 | // Note: null/false both map to false in the Go code, but this returns a special null value |
no test coverage detected