MCPcopy Create free account
hub / github.com/2shady4u/godot-sqlite / zipfileGetTime

Function zipfileGetTime

src/sqlite/shell.c:11345–11350  ·  view source on GitHub ↗

** Return a 32-bit timestamp in UNIX epoch format. ** ** If the value passed as the only argument is either NULL or an SQL NULL, ** return the current time. Otherwise, return the value stored in (*pVal) ** cast to a 32-bit unsigned integer. */

Source from the content-addressed store, hash-verified

11343** cast to a 32-bit unsigned integer.
11344*/
11345static u32 zipfileGetTime(sqlite3_value *pVal){
11346 if( pVal==0 || sqlite3_value_type(pVal)==SQLITE_NULL ){
11347 return zipfileTime();
11348 }
11349 return (u32)sqlite3_value_int64(pVal);
11350}
11351
11352/*
11353** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry

Callers 2

zipfileUpdateFunction · 0.85
zipfileStepFunction · 0.85

Calls 1

zipfileTimeFunction · 0.85

Tested by

no test coverage detected