

def has_source_suffix(self, target, suffix):
    for s in target.get_sources():
        if s.endswith(suffix):
            return True
    return False

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.has_source_suffix/original