ensure file id is populated

This commit is contained in:
Chris Lu 2021-10-16 23:34:27 -07:00
parent fc1694b321
commit e7d1f183cc

View file

@ -100,7 +100,7 @@ func addToVisibles(visibles []VisibleInterval, prevX int64, startPoint *Point, p
visibles = append(visibles, VisibleInterval{ visibles = append(visibles, VisibleInterval{
start: prevX, start: prevX,
stop: point.x, stop: point.x,
fileId: chunk.FileId, fileId: chunk.GetFileIdString(),
modifiedTime: chunk.Mtime, modifiedTime: chunk.Mtime,
chunkOffset: prevX - chunk.Offset, chunkOffset: prevX - chunk.Offset,
chunkSize: chunk.Size, chunkSize: chunk.Size,