mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
basic download completeness check
This commit is contained in:
1 parent
ac2ceef948
commit
e435ad3a82
4 files changed
+38
-15
No files matched your search
@@ -11,7 +11,10 @@ async function main() {
|
||||
const { data, error } = await supabase.storage.from("yomitan").list("ja");
|
||||
if (error) throw error;
|
||||
if (data) {
|
||||
console.log(data.map((d) => d.id));
|
||||
console.log(data);
|
||||
// no sha256, but may be precomputed and manually placed at data[*].metadata.*
|
||||
// data[*].metadata.{size,contentLength} could be meaningful
|
||||
// GitHub releases uses digest: 'sha256:*' in assets[*].digest currently
|
||||
|
||||
const toDownload = data.filter(() => true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user