eprints / eprints3.4

EPrints 3.4 core and releases
http://www.eprints.org/uk/index.php/eprints-3-4/
GNU Lesser General Public License v3.0
31 stars 27 forks source link

Add function to get local path on disk for file object #355

Closed drn05r closed 9 months ago

drn05r commented 9 months ago

It is surprisingly difficult to find the exact location on disk of a EPrints::DataObj::File object. By default it can be a sub-object of a EPrints::DataObj::Document or EPrints::DataObj::History object but it theoretically could be used elsewhere. Therefore a function to be able to look this up which could be overridden for bespoke repositories which use files in others ways would be useful.