wip: refactor offline download (#5331)

* base tool

* working: aria2
This commit is contained in:
Andy Hsu
2023-10-04 16:27:08 +08:00
committed by GitHub
parent 3d7f79cba8
commit 7db3975b18
11 changed files with 508 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
package offline_download
import "testing"
func TestGetFiles(t *testing.T) {
files, err := GetFiles("..")
if err != nil {
t.Fatal(err)
}
for _, file := range files {
t.Log(file.Name, file.Size, file.Path)
}
}