Example #1
0
def process_cluster(cluster, transform, validate, action):
    for_each(
        validate(
            transform(copy(cluster)),
            cluster
        ),
        action = action
    )
Example #2
0
def find_files(which, where, action, strict_walk=True):
    for_each(
        which(
            group_by_size_hash_content(
                all_files(where, strict_walk=strict_walk)
            )
        ),
        action = action
    )
Example #3
0
def find_files(which, where, action, strict_walk=True):
    for_each(which(
        group_by_size_hash_content(all_files(where, strict_walk=strict_walk))),
             action=action)
Example #4
0
def process_cluster(cluster, transform, validate, action):
    for_each(validate(transform(copy(cluster)), cluster), action=action)