Andy Hsu 7db3975b18
wip: refactor offline download (#5331)
* base tool

* working: aria2
2023-10-04 16:27:08 +08:00

14 lines
219 B
Go

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)
}
}