MCPcopy Create free account
hub / github.com/Niko1221/Strata / touch

Function touch

engine/src/core/kpack_path_test.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15#if !defined(_WIN32)
16static void touch(const std::string& p) {
17 FILE* f = std::fopen(p.c_str(), "wb");
18 if (f) { std::fputs("x", f); std::fclose(f); }
19}
20#endif
21
22int main() {

Callers 7

mainFunction · 0.70
getMethod · 0.50
putMethod · 0.50
prefetch_taskMethod · 0.50
mainFunction · 0.50
warmMethod · 0.50
restoreMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected