in cdslogviewer/app/responses/LogInfo.scala [12:24]
def fromPath(filePath: Path)(implicit timezone:ZoneId): Option[LogInfo] = {
val f = filePath.toFile
if(!f.exists()) {
return None
}
Try { LogInfo(
f.getName,
f.length(),
ZonedDateTime.ofInstant(Instant.ofEpochMilli(f.lastModified()), timezone)
) }.toOption
}