Fix loading of c2g zips, oops
This commit is contained in:
parent
0098660d7b
commit
43d5d65366
@ -378,7 +378,7 @@ export class FileSource {
|
|||||||
async get(path) {}
|
async get(path) {}
|
||||||
|
|
||||||
// Get a list of all files under here, recursively
|
// Get a list of all files under here, recursively
|
||||||
async *iter_all_files() {}
|
// async *iter_all_files() {}
|
||||||
}
|
}
|
||||||
// Files we have had uploaded one at a time (note that each upload becomes its own source)
|
// Files we have had uploaded one at a time (note that each upload becomes its own source)
|
||||||
export class FileFileSource extends FileSource {
|
export class FileFileSource extends FileSource {
|
||||||
@ -542,4 +542,8 @@ export class ZipFileSource extends FileSource {
|
|||||||
|
|
||||||
return file.buffer;
|
return file.buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iter_all_files() {
|
||||||
|
return Object.keys(this.files);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user