MCPcopy Create free account
hub / github.com/RedisGears/RedisGears / PythonRequirement_Deserialize

Function PythonRequirement_Deserialize

plugins/python/redisgears_python.c:614–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614static 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
623static int PythonRequirementCtx_Serialize(PythonRequirementCtx* req, Gears_BufferWriter* bw, char** err){
624 if(!req->isDownloaded){

Calls 1

Tested by

no test coverage detected