This removes the version argument from the backend implementation.
Instead of forwarding path and version to the implementation, Backend integrates the version into the path now. This simplifies the implementation of a backend, since a developer does not have to care about storing the version (especially the implementation of _ls() becomes way simpler). Also the support for legacy file structure is now handled directly by Backend (and as a side-effect supported by any backend).
The suggested changes will allow us to implement audbackend in a way that it can be used without versioning as requested in #155 (not implemented here).
Relates to #155
This removes the
version
argument from the backend implementation.Instead of forwarding
path
andversion
to the implementation,Backend
integrates the version into the path now. This simplifies the implementation of a backend, since a developer does not have to care about storing the version (especially the implementation of_ls()
becomes way simpler). Also the support for legacy file structure is now handled directly byBackend
(and as a side-effect supported by any backend).The suggested changes will allow us to implement
audbackend
in a way that it can be used without versioning as requested in #155 (not implemented here).