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

Method addFile

src/App/MetadataPyImp.cpp:855–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855PyObject* MetadataPy::addFile(PyObject* args)
856{
857 const char* file = nullptr;
858 if (!PyArg_ParseTuple(args, "s", &file)) {
859 throw Py::Exception();
860 }
861 getMetadataPtr()->addFile(file);
862 Py_INCREF(Py_None);
863 return Py_None;
864}
865
866PyObject* MetadataPy::removeFile(PyObject* args)
867{

Callers 1

setFileMethod · 0.45

Calls 1

ExceptionClass · 0.70

Tested by

no test coverage detected