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

Method getFileName

src/App/DocumentPyImp.cpp:263–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263PyObject* DocumentPy::getFileName(PyObject* args)
264{
265 if (!PyArg_ParseTuple(args, "")) {
266 return nullptr;
267 }
268 const char* fn = getDocumentPtr()->getFileName();
269 return Py::new_reference_to(Py::String(fn));
270}
271
272PyObject* DocumentPy::getUniqueObjectName(PyObject* args)
273{

Callers

nothing calls this directly

Calls 2

new_reference_toFunction · 0.85
StringClass · 0.70

Tested by

no test coverage detected