mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Improve glob and filter archive entries
This commit is contained in:
@ -4,6 +4,7 @@ import minitest._
|
||||
import cats.effect._
|
||||
import cats.implicits._
|
||||
import scala.concurrent.ExecutionContext
|
||||
import docspell.common.Glob
|
||||
|
||||
object ZipTest extends SimpleTestSuite {
|
||||
|
||||
@ -12,7 +13,7 @@ object ZipTest extends SimpleTestSuite {
|
||||
|
||||
test("unzip") {
|
||||
val zipFile = ExampleFiles.letters_zip.readURL[IO](8192, blocker)
|
||||
val uncomp = zipFile.through(Zip.unzip(8192, blocker))
|
||||
val uncomp = zipFile.through(Zip.unzip(8192, blocker, Glob.all))
|
||||
|
||||
uncomp
|
||||
.evalMap { entry =>
|
||||
|
Reference in New Issue
Block a user