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

Method canWriteRecoverySnapshot

src/App/DocumentPyImp.cpp:181–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 Py_Return;
180 }
181 PY_CATCH
182}
183
184PyObject* DocumentPy::canWriteRecoverySnapshot(PyObject* args)
185{
186 if (!PyArg_ParseTuple(args, "")) {
187 return nullptr;
188 }
189
190 return Py::new_reference_to(Py::Boolean(getDocumentPtr()->canWriteRecoverySnapshot()));
191}
192
193PyObject* DocumentPy::load(PyObject* args)
194{

Callers

nothing calls this directly

Calls 1

new_reference_toFunction · 0.85

Tested by

no test coverage detected