Allow Tuque to write object exports from Fedora directly to files. Presently, Tuque fetches exports into memory, which can result in extremely high memory usage should objects contain large datastreams.
This may be partially related to
Allow Tuque to write directly to files so we can interact with objects with large datastreams.
There are no invocations of FedoraApiM::export() or FedoraApiM::getObjectXML() in the core of Islandora... As such, could just roll something like:
... Which is to say, the content of the file is the exact same as the string which was previously returned from the FedoraApiM::export() call (and similarly for FedoraApiM::getObjectXML()).
None/minimal; this is an additive change which should allow exports to be used more reliably when called with the new parameter.
discoverygarden inc. | Managing Digital Content