MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / stat

Class stat

Bcore/src/main/cpp/android-base/file.cpp:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 // very large files too, where the std::string growth heuristics might not
56 // be suitable. https://code.google.com/p/android/issues/detail?id=258500.
57 struct stat sb;
58 if (fstat(fd, &sb) != -1 && sb.st_size > 0) {
59 content->reserve(sb.st_size);
60 }

Callers 1

RemoveFileIfExistsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected