MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / stat

Class stat

src/platform/linux/schema_fetch.cpp:384–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382 + std::to_string(appId) + ".bin";
383
384 struct stat st;
385 if (stat(schemaPath.c_str(), &st) == 0 && st.st_size > 0) {
386 LOG("[SchemaFetch] app %u: schema already on disk (%ld bytes), skipping",
387 appId, (long)st.st_size);

Callers 3

RequestSchemaForAppFunction · 0.70
HandleInbound819Function · 0.70
SweepNamespaceSchemasFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected