( stamp: Stamp<unknown, true>, hlc: Hlc, hash: Hash, )
| 47 | EMPTY_STRING; |
| 48 | |
| 49 | export const stampUpdate = ( |
| 50 | stamp: Stamp<unknown, true>, |
| 51 | hlc: Hlc, |
| 52 | hash: Hash, |
| 53 | ) => { |
| 54 | if (hlc > stamp[1]) { |
| 55 | stamp[1] = hlc; |
| 56 | } |
| 57 | stamp[2] = hash >>> 0; |
| 58 | }; |
| 59 | |
| 60 | export const stampNewObj = <Thing>(hlc = EMPTY_STRING): Stamp<IdObj<Thing>> => |
| 61 | stampNew(objNew<Thing>(), hlc); |
no outgoing calls
no test coverage detected
searching dependent graphs…