mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 22:21:53 +02:00
10 lines
252 B
JavaScript
10 lines
252 B
JavaScript
|
async function getSets(){
|
||
|
var m=new Map()
|
||
|
const text=await getTextFromFileUrlAsync("/data/datasets.lst")
|
||
|
const lines=text.split("\n")
|
||
|
for(const line of lines){
|
||
|
const kv=line.split(":",2)
|
||
|
m.set(kv[0].trim(),kv[1].trim())
|
||
|
}
|
||
|
return m
|
||
|
}
|