mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-24 19:16:55 +08:00
chore: change size of file to int64
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type Obj interface {
|
||||
GetSize() uint64
|
||||
GetSize() int64
|
||||
GetName() string
|
||||
ModTime() time.Time
|
||||
IsDir() bool
|
||||
|
||||
@@ -5,7 +5,7 @@ import "time"
|
||||
type Object struct {
|
||||
ID string
|
||||
Name string
|
||||
Size uint64
|
||||
Size int64
|
||||
Modified time.Time
|
||||
IsFolder bool
|
||||
}
|
||||
@@ -14,7 +14,7 @@ func (f Object) GetName() string {
|
||||
return f.Name
|
||||
}
|
||||
|
||||
func (f Object) GetSize() uint64 {
|
||||
func (f Object) GetSize() int64 {
|
||||
return f.Size
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user