juicedata / juicesync

A tool to move your data between any clouds or regions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update 文件 -u 比对逻辑无精确到毫秒问题

SecretSun opened this issue · comments

mtime := int(o.LastModified.Unix())
objs = append(objs, &Object{*o.Key, *o.Size, mtime, mtime})

是否可以支持 毫秒

看了下 S3 的 API,Head Object 的 LastModified 只有 秒精度,但是 List Ojbect 里的 LastModified 确实有毫秒精度,但实例都是000,不确定是否真的有毫秒精度。

因为对象存储本身并不提供毫秒级精度,并且 Juicesync 也没办法在毫秒级发现数据,实现 毫秒级比对没有实际效果,暂不实现。

多谢反馈!