Closed hagenw closed 2 months ago
Running the following code
import tempfile import audbackend import audeer with tempfile.TemporaryDirectory() as tmp: host = audeer.mkdir(tmp, "host") repo = "repo" file = audeer.touch(tmp, "src.pth") audbackend.backend.FileSystem.create(host, repo) backend = audbackend.backend.FileSystem(host, repo) interface = audbackend.interface.Maven(backend) interface.put_file(file, "/a.ext", "1.0.0") interface.put_file(file, "/a/b.ext", "1.0.0") interface.ls() interface.ls("/a/")
should return
[('/a.ext', '1.0.0'), ('/a/b.ext', '1.0.0')] [('/a/b.ext', '1.0.0')]
but instead it returns
[('/a.ext', '1.0.0'), ('/a/b.ext', '1.0.0')] [('/a.ext', '1.0.0'), ('/a/b.ext', '1.0.0')]
For audbackend.interface.Versioned it works.
audbackend.interface.Versioned
Solved by #210
Running the following code
should return
but instead it returns
For
audbackend.interface.Versioned
it works.