PHP 8.2.30
Preview: dep_util.py Size: 935 B
/lib/python3.8/site-packages/setuptools/dep_util.py

from distutils.dep_util import newer_group

# yes, this is was almost entirely copy-pasted from
# 'newer_pairwise()', this is just another convenience
# function.
def newer_pairwise_group(sources_groups, targets):
    """Walk both arguments in parallel, testing if each source group is newer
    than its corresponding target. Returns a pair of lists (sources_groups,
    targets) where sources is newer than target, according to the semantics
    of 'newer_group()'.
    """
    if len(sources_groups) != len(targets):
        raise ValueError("'sources_group' and 'targets' must be the same length")

    # build a pair of lists (sources_groups, targets) where source is newer
    n_sources = []
    n_targets = []
    for i in range(len(sources_groups)):
        if newer_group(sources_groups[i], targets[i]):
            n_sources.append(sources_groups[i])
            n_targets.append(targets[i])

    return n_sources, n_targets

Directory Contents

Dirs: 4 × Files: 32

Name Size Perms Modified Actions
command DIR
- drwxr-xr-x 2024-03-21 10:19:24
Edit Download
extern DIR
- drwxr-xr-x 2024-03-21 10:19:24
Edit Download
_vendor DIR
- drwxr-xr-x 2024-03-21 10:19:24
Edit Download
- drwxr-xr-x 2024-03-21 10:19:24
Edit Download
6.44 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
9.37 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
20.05 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
5.39 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
935 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
49.13 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
1.69 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
3.07 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
4.96 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
787 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
1.97 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
5.14 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
45.66 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
3.12 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
39.65 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
10.61 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
1.46 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
838 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
1.30 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
245 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
13.94 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
218 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
138 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
2.25 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
8.29 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
996 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
144 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
7.90 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
714 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
218 B lrw-r--r-- 2022-04-21 12:45:22
Edit Download
2.17 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download
7.11 KB lrw-r--r-- 2022-04-21 12:45:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).