MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / sizeOfFile

Method sizeOfFile

src/App/ProjectFile.cpp:628–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628uint32_t ProjectFile::sizeOfFile(const std::string& name) const
629{
630 zipios::ZipFile project(stdFile);
631 auto entry = project.getEntry(name);
632 return entry == nullptr ? 0 : entry->getSize();
633}
634
635std::list<std::string> ProjectFile::getInputFiles(const std::string& name) const
636{

Callers 1

loadFCStdThumbnailFunction · 0.80

Calls 2

getEntryMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected