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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Logger extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. var bufferSize: Int

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val default: File

  10. val defaultChecksums: Seq[Option[String]]

  11. val defaultConcurrentDownloadCount: Int

  12. lazy val defaultPool: ExecutorService

  13. lazy val defaultTtl: Option[Duration]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. 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]): (Artifact) ⇒ EitherT[F, String, String]

  17. 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

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. lazy val ivy2Cache: IvyRepository

  23. lazy val ivy2Local: IvyRepository

  24. def localFile(url: String, cache: File, user: Option[String], localArtifactsShouldBeCached: Boolean): File

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def parseChecksum(content: String): Option[BigInteger]

  29. def parseRawChecksum(content: Array[Byte]): Option[BigInteger]

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. 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).

    s
    returns

  33. def urlConnection(url0: String, authentication: Option[Authentication]): URLConnection

  34. def validateChecksum[F[_]](artifact: Artifact, sumType: String, cache: File, pool: ExecutorService, localArtifactsShouldBeCached: Boolean = false)(implicit S: Schedulable[F]): EitherT[F, FileError, Unit]

  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withContent(is: InputStream, f: (Array[Byte], Int) ⇒ Unit): Unit

  39. def withLockFor[T](cache: File, file: File)(f: ⇒ Either[FileError, T]): Either[FileError, T]

Inherited from AnyRef

Inherited from Any

Ungrouped