Exemple #1
0
def process_cluster(cluster, transform, validate, action):
    for_each(
        validate(
            transform(copy(cluster)),
            cluster
        ),
        action = action
    )
Exemple #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
    )
Exemple #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)
Exemple #4
0
def process_cluster(cluster, transform, validate, action):
    for_each(validate(transform(copy(cluster)), cluster), action=action)