ValidatedPaths

mill.api.PathRef.ValidatedPaths
class ValidatedPaths()

This class maintains a cache of already validated paths. It is thread-safe and meant to be shared between threads, e.g. in a ThreadLocal.

Attributes

Source
PathRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def clear(): Unit

Attributes

Source
PathRef.scala
@Scaladoc(value = "/**\n * Revalidates the given [[PathRef]], if required.\n * It will only revalidate a [[PathRef]] if it\'s value for [[PathRef.revalidate]] says so and also considers the previously revalidated paths.\n * @throws PathRefValidationException If a the [[PathRef]] needs revalidation which fails\n */")
def revalidateIfNeededOrThrow(pathRef: PathRef): Unit

Revalidates the given PathRef, if required. It will only revalidate a PathRef if it's value for PathRef.revalidate says so and also considers the previously revalidated paths.

Revalidates the given PathRef, if required. It will only revalidate a PathRef if it's value for PathRef.revalidate says so and also considers the previously revalidated paths.

Attributes

Throws
PathRefValidationException

If a the PathRef needs revalidation which fails

Source
PathRef.scala