| 612 | } |
| 613 | |
| 614 | static PythonRequirementCtx* PythonRequirement_Deserialize(Gears_BufferReader* br, char** err){ |
| 615 | int version = RedisGears_BRReadLong(br); |
| 616 | if(version == LONG_READ_ERROR){ |
| 617 | *err = RG_STRDUP("Bad serialization format on reading requirement version"); |
| 618 | return NULL; |
| 619 | } |
| 620 | return PythonRequirementCtx_Deserialize(br, version, err); |
| 621 | } |
| 622 | |
| 623 | static int PythonRequirementCtx_Serialize(PythonRequirementCtx* req, Gears_BufferWriter* bw, char** err){ |
| 624 | if(!req->isDownloaded){ |
no test coverage detected