diff --git a/lib/resourceFactory.js b/lib/resourceFactory.js index 66767add..2b753582 100644 --- a/lib/resourceFactory.js +++ b/lib/resourceFactory.js @@ -239,6 +239,12 @@ const resourceFactory = { } }, + createReader({fsBasePath, virBasePath, name}) { + return new ReaderCollection({ + name, + readers: [resourceFactory.createAdapter({fsBasePath, virBasePath})] + }); + }, /** * Creates a Resource. Accepts the same parameters as the Resource constructor.