MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / stat

Class stat

deps/memkind/src/examples/pmem_cpp_allocator.cpp:156–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 return 0;
155 } else if (argc == 2) {
156 struct stat st;
157 if (stat(argv[1], &st) != 0 || !S_ISDIR(st.st_mode)) {
158 fprintf(stderr,"%s : Invalid path to pmem kind directory", argv[1]);
159 return 1;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected