Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Checks whether each of the targets has changed and invalidates it if so.

Returns a list of VersionedTargetSet objects (either valid or invalid). The returned sets
'cover' the input targets, possibly partitioning them, and are in topological order.
The caller can inspect these in order and, e.g., rebuild the invalid ones.

src/c/o/commons-HEAD/src/python/twitter/pants/tasks/task.py   commons(Download)
                                 only_externaldeps=only_buildfiles)
 
    invalidation_check = cache_manager.check(targets, partition_size_hint)
 
    if invalidation_check.invalid_vts and self.artifact_cache_reads_enabled():

src/t/w/twitter.pants-0.0.23/src/twitter/pants/tasks/task.py   twitter.pants(Download)
                                 only_externaldeps=only_buildfiles)
 
    invalidation_check = cache_manager.check(targets, partition_size_hint)
 
    if invalidation_check.invalid_vts and self.artifact_cache_reads_enabled():