MCPcopy Create free account
hub / github.com/VCVRack/Rack / stat

Class stat

src/plugin.cpp:146–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 // Get modified timestamp
145 if (path != "") {
146 struct stat statbuf;
147 if (!stat(path.c_str(), &statbuf)) {
148#if defined ARCH_MAC
149 plugin->modifiedTimestamp = (double) statbuf.st_mtimespec.tv_sec + statbuf.st_mtimespec.tv_nsec * 1e-9;

Callers 1

loadPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected