From 2c0425433ebac1d762d745a2b7f5f528e2dbbda0 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Tue, 11 Feb 2020 22:42:04 +0100 Subject: [PATCH] Move File class to common module --- .../src/main/scala/docspell/common}/File.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename modules/{text/src/main/scala/docspell/text/ocr => common/src/main/scala/docspell/common}/File.scala (98%) diff --git a/modules/text/src/main/scala/docspell/text/ocr/File.scala b/modules/common/src/main/scala/docspell/common/File.scala similarity index 98% rename from modules/text/src/main/scala/docspell/text/ocr/File.scala rename to modules/common/src/main/scala/docspell/common/File.scala index 31d05d3b..22c39188 100644 --- a/modules/text/src/main/scala/docspell/text/ocr/File.scala +++ b/modules/common/src/main/scala/docspell/common/File.scala @@ -1,12 +1,12 @@ -package docspell.text.ocr +package docspell.common -import cats.implicits._ -import scala.jdk.CollectionConverters._ import java.io.IOException import java.nio.file.attribute.BasicFileAttributes import java.nio.file.{FileVisitResult, Files, Path, SimpleFileVisitor} import java.util.concurrent.atomic.AtomicInteger +import scala.jdk.CollectionConverters._ +import cats.implicits._ import cats.effect.Sync import fs2.Stream