mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-24 11:07:02 +08:00
refactor: change type of percentage to float64
This commit is contained in:
@@ -13,9 +13,10 @@ func GetFiles(dir string) ([]*File, error) {
|
||||
}
|
||||
if !info.IsDir() {
|
||||
files = append(files, &File{
|
||||
Name: info.Name(),
|
||||
Size: info.Size(),
|
||||
Path: path,
|
||||
Name: info.Name(),
|
||||
Size: info.Size(),
|
||||
Path: path,
|
||||
Modified: info.ModTime(),
|
||||
})
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user