A wrapper around os.Path that calculates a sig (which ends up in the hashCode) based on the contents of the filesystem underneath it. Used to ensure filesystem changes can bust caches which are keyed off hashcodes.
Attributes
- Companion
- object
- Source
- PathRef.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalstrait PathRefApiclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Any
- Source
- PathRef.scala
Attributes
- Source
- PathRef.scala
Apply the current contextual path mapping to this PathRef. Updates mappedPath but does not recalculate the sig.
Apply the current contextual path mapping to this PathRef. Updates mappedPath but does not recalculate the sig.
Attributes
- Source
- PathRef.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- PathRef.scala
Attributes
- Source
- PathRef.scala
Attributes
- Source
- PathRef.scala
Attributes
- Source
- PathRef.scala
Deprecated methods
Attributes
- Deprecated
-
[Since version Mill after 1.4.0-M0]Use recompute instead - Source
- PathRef.scala
Attributes
- Deprecated
-
[Since version Mill after 1.4.0-M0]Use quickSig and fullSig instead. - Definition Classes
- Source
- PathRef.scala
Attributes
- Deprecated
-
[Since version Mill after 1.4.0-M0]Use validateSigs instead - Source
- PathRef.scala
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala