2023-10-04 22:23:45 +08:00

18 lines
321 B
Go

package offline_download_test
import (
"testing"
"github.com/alist-org/alist/v3/internal/offline_download"
)
func TestGetFiles(t *testing.T) {
files, err := offline_download.GetFiles("..")
if err != nil {
t.Fatal(err)
}
for _, file := range files {
t.Log(file.Name, file.Size, file.Path, file.Modified)
}
}