1 # Copyright (C) The Lightning Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
8 InlineJavascriptRequirement: {}
10 LoadListingRequirement:
11 loadListing: shallow_listing
20 fastadirs: Directory[]
24 for (var i = 0; i < inputs.fas.length; i+=100) {
25 var fastadir = {"class": "Directory",
26 "basename": "dir"+String(i/100),
28 for (var j = i; j < Math.min(i+100, inputs.fas.length); j+=1) {
29 fastadir.listing.push(inputs.fas[j][0]);
30 fastadir.listing.push(inputs.fas[j][1]);
32 fastadirs.push(fastadir);
34 return {"fastadirs": fastadirs};