MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / stat

Class stat

Tactility/Source/app/files/View.cpp:339–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 if (dir_entry.d_type == file::TT_DT_REG) {
338 std::string file_path = file::getChildPath(state->getCurrentPath(), dir_entry.d_name);
339 struct stat st;
340 if (stat(file_path.c_str(), &st) == 0) {
341 // Format file size in human-readable format
342 const char* size_suffix;

Callers 3

createDirEntryWidgetMethod · 0.70
onResultMethod · 0.70
onPastePressedMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected