Packages

o

coursier

Cache

object Cache

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Logger extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. var bufferSize: Int
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. lazy val default: File
  8. val defaultChecksums: Seq[Option[String]]
  9. val defaultConcurrentDownloadCount: Int
  10. lazy val defaultPool: ExecutorService
  11. lazy val defaultTtl: Option[Duration]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def fetch[F[_]](cache: File = default, cachePolicy: CachePolicy = CachePolicy.UpdateChanging, checksums: Seq[Option[String]] = defaultChecksums, logger: Option[Logger] = None, pool: ExecutorService = defaultPool, ttl: Option[Duration] = defaultTtl)(implicit S: Schedulable[F]): Content[F]
  15. def file[F[_]](artifact: Artifact, cache: File = default, cachePolicy: CachePolicy = CachePolicy.UpdateChanging, checksums: Seq[Option[String]] = defaultChecksums, logger: Option[Logger] = None, pool: ExecutorService = defaultPool, ttl: Option[Duration] = defaultTtl, retry: Int = 1, localArtifactsShouldBeCached: Boolean = false)(implicit S: Schedulable[F]): EitherT[F, FileError, File]

    This method computes the task needed to get a file.

    This method computes the task needed to get a file.

    Retry only applies to coursier.FileError.WrongChecksum.

    coursier.FileError.DownloadError is handled separately at downloading

  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. lazy val ivy2Cache: IvyRepository
  21. lazy val ivy2Local: IvyRepository
  22. def localFile(url: String, cache: File, user: Option[String], localArtifactsShouldBeCached: Boolean): File
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def parseChecksum(content: String): Option[BigInteger]
  27. def parseRawChecksum(content: Array[Byte]): Option[BigInteger]
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def url(s: String): URL

    Returns a java.net.URL for s, possibly using the custom protocol handlers found under the coursier.cache.protocol namespace.

    Returns a java.net.URL for s, possibly using the custom protocol handlers found under the coursier.cache.protocol namespace.

    E.g. URL "test://abc.com/foo", having protocol "test", can be handled by a URLStreamHandler named coursier.cache.protocol.TestHandler (protocol name gets capitalized, and suffixed with Handler to get the class name).

  31. def urlConnection(url0: String, authentication: Option[Authentication]): URLConnection
  32. def validateChecksum[F[_]](artifact: Artifact, sumType: String, cache: File, pool: ExecutorService, localArtifactsShouldBeCached: Boolean = false)(implicit S: Schedulable[F]): EitherT[F, FileError, Unit]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  36. def withContent(is: InputStream, f: (Array[Byte], Int) ⇒ Unit): Unit
  37. def withLockFor[T](cache: File, file: File)(f: ⇒ Either[FileError, T]): Either[FileError, T]
  38. object Dangerous

Inherited from AnyRef

Inherited from Any

Ungrouped