com.typesafe.sbt.digest.SbtDigest

DigestStage

object DigestStage

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DigestStage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ChecksumMapping(originalPath: String, algorithm: String, checksum: String, mapping: (File, String)) extends DigestMapping with Product with Serializable

  2. sealed trait DigestMapping extends AnyRef

  3. sealed trait DigestOutput extends AnyRef

  4. case class Digested(original: Option[OriginalMapping], checksums: Seq[ChecksumMapping], versioned: Seq[VersionedMapping]) extends DigestOutput with Product with Serializable

  5. case class OriginalMapping(originalPath: String, mapping: (File, String)) extends DigestMapping with Product with Serializable

  6. implicit class PathMappingAccessors extends AnyRef

    Access PathMapping file and path with named methods.

  7. case class Undigested(mapping: (File, String)) extends DigestOutput with Product with Serializable

  8. case class VersionedMapping(originalPath: String, algorithm: String, checksum: String, mapping: (File, String)) extends DigestMapping with Product with Serializable

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. val DigestAlgorithms: Seq[String]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def buildPath(base: String, name: String, ext: String): String

    Create a path from base, name, and extension parts.

  9. def categorise(mappings: Seq[(File, String)], algorithms: Seq[String]): Seq[DigestMapping]

    Categorise each mapping as original, checksum, or versioned.

    Categorise each mapping as original, checksum, or versioned. Extract the original path, checksum, and algorithm.

  10. def checksumMapping(mapping: (File, String), algorithms: Seq[String]): Option[ChecksumMapping]

    Check whether a mapping is for a checksum file.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def computeChecksum(file: File, algorithm: String): String

    Compute a checksum for a file.

    Compute a checksum for a file. Supported algorithms are "md5" and "sha1".

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

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

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def generateChecksum(file: File, path: String, algorithm: String, targetDir: File): ChecksumMapping

    Create a checksum file and mapping.

  17. def generateVersioned(file: File, path: String, algorithm: String, targetDir: File): VersionedMapping

    Create a versioned mapping with the checksum in the name.

  18. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  21. def isVersioned(path: String, checksum: String): Boolean

    Check whether a path is versioned with the checksum.

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

    Definition Classes
    AnyRef
  23. def normalizePath(path: String, separator: Char = java.io.File.separatorChar): String

    Replace platform-specific separators with /.

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. def originalMapping(mapping: (File, String)): OriginalMapping

    Create a digest mapping for an original file.

  27. def process(mappings: Seq[(File, String)], algorithms: Seq[String], include: FileFilter, exclude: FileFilter, targetDir: File): Seq[DigestOutput]

    Group together digest-related mappings and create any missing checksums or versioned mappings for each path.

  28. def run(mappings: Seq[(File, String)], algorithms: Seq[String], include: FileFilter, exclude: FileFilter, targetDir: File, indexPathOpt: Option[String], indexWriter: (Map[String, String]) ⇒ String): Seq[(File, String)]

    Add digest mappings for assets.

    Add digest mappings for assets. Take into account existing checksums and versioned files.

  29. def splitPath(path: String): (String, String, String)

    Get the base path, name, and extension for a path.

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def unversioned(path: String, checksum: String): String

    Remove the checksum from a versioned path to get the original path.

  33. def versionPrefix(checksum: String): String

    Create the checksum prefix.

  34. def versioned(path: String, checksum: String): String

    Add a checksum to the path name to create a versioned path.

  35. def versionedMapping(mapping: (File, String), algorithms: Seq[String]): Option[VersionedMapping]

    Check whether a mapping is for a versioned file.

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped