mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Download multiple files as zip
This commit is contained in:
@ -104,6 +104,9 @@ object Implicits {
|
||||
implicit val ftsTypeReader: ConfigReader[FtsType] =
|
||||
ConfigReader[String].emap(reason(FtsType.fromName))
|
||||
|
||||
implicit val byteSizeReader: ConfigReader[ByteSize] =
|
||||
ConfigReader[String].emap(reason(ByteSize.parse))
|
||||
|
||||
def reason[T, A: ClassTag](
|
||||
f: T => Either[String, A]
|
||||
): T => Either[FailureReason, A] =
|
||||
|
Reference in New Issue
Block a user