MCPcopy Create free account
hub / github.com/antirez/botlib / kvSet

Function kvSet

sqlite_wrap.c:257–259  ·  view source on GitHub ↗

Wrapper where the value len is obtained via strlen().*/

Source from the content-addressed store, hash-verified

255
256/* Wrapper where the value len is obtained via strlen().*/
257int kvSet(sqlite3 *dbhandle,const char *key, const char *value, int64_t expire) {
258 return kvSetLen(dbhandle,key,value,strlen(value),expire);
259}
260
261/* Get the specified key and return it as an SDS string. If the value is
262 * expired or does not exist NULL is returned. */

Callers 1

handleRequestFunction · 0.85

Calls 1

kvSetLenFunction · 0.85

Tested by

no test coverage detected