Make sizes in Dropbox 64 bit - fixes #80
This commit is contained in:
parent
6c6d7eb770
commit
472f065ce7
1 changed files with 2 additions and 2 deletions
|
@ -388,7 +388,7 @@ func (f *FsDropbox) ListDir() fs.DirChan {
|
||||||
out <- &fs.Dir{
|
out <- &fs.Dir{
|
||||||
Name: *name,
|
Name: *name,
|
||||||
When: time.Time(entry.ClientMtime),
|
When: time.Time(entry.ClientMtime),
|
||||||
Bytes: int64(entry.Bytes),
|
Bytes: entry.Bytes,
|
||||||
Count: -1,
|
Count: -1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -596,7 +596,7 @@ func (o *FsObjectDropbox) Size() int64 {
|
||||||
//
|
//
|
||||||
// This isn't a complete set of metadata and has an inacurate date
|
// This isn't a complete set of metadata and has an inacurate date
|
||||||
func (o *FsObjectDropbox) setMetadataFromEntry(info *dropbox.Entry) {
|
func (o *FsObjectDropbox) setMetadataFromEntry(info *dropbox.Entry) {
|
||||||
o.bytes = int64(info.Bytes)
|
o.bytes = info.Bytes
|
||||||
o.modTime = time.Time(info.ClientMtime)
|
o.modTime = time.Time(info.ClientMtime)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue