object ClasspathHashing
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClasspathHashing
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val blackboxReference: Array[Byte]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def containsMacroDefinition(classpath: Seq[File]): Task[Seq[(File, Boolean)]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hash(classpath: Seq[File]): Task[Seq[FileHash]]
Hash the classpath and parallelize with Monix's task.
Hash the classpath and parallelize with Monix's task.
The whole way caching works in Zinc is ridiculous and in the future we should pull off the strategy described in https://github.com/sbt/zinc/pull/371 and just use xxHash instead of the expensive SHA-1. The most critical thing to change is the fact that we do
.hashCode
after we've collected the stamps (so we're computing the hash code of an effectively more precise hash of the files!). The public interface ofFileHash
needs to be changed to fix this issue, that will prove more necessary when we can pass the list of hashes to the compiler directly.- classpath
The list of files to be hashed (if they exist).
- returns
A task returning a list of hashes.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val whiteboxReference: Array[Byte]