MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / ~PropertyFileIncluded

Method ~PropertyFileIncluded

src/App/PropertyFile.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52PropertyFileIncluded::PropertyFileIncluded() = default;
53
54PropertyFileIncluded::~PropertyFileIncluded()
55{
56 // clean up
57 if (!_cValue.empty()) {
58 Base::FileInfo file(_cValue.c_str());
59 file.setPermissions(Base::FileInfo::ReadWrite);
60 file.deleteFile();
61 }
62}
63
64void PropertyFileIncluded::aboutToSetValue()
65{

Callers

nothing calls this directly

Calls 4

setPermissionsMethod · 0.80
emptyMethod · 0.45
c_strMethod · 0.45
deleteFileMethod · 0.45

Tested by

no test coverage detected