This commit is contained in:
Chris Lu 2021-09-03 20:42:28 -07:00
parent 83cd0fc739
commit 03a31587ce
2 changed files with 3 additions and 3 deletions

View file

@ -239,7 +239,7 @@ func makeEventProcessor(remoteStorage *remote_pb.RemoteConf, mountedDir string,
return eachEntryFunc, nil
}
func collectLastSyncOffset(option *RemoteSyncOptions, mountedDir string) (time.Time) {
func collectLastSyncOffset(option *RemoteSyncOptions, mountedDir string) time.Time {
// 1. specified by timeAgo
// 2. last offset timestamp for this directory
// 3. directory creation time