def hub_refused
import near-v-framework@0.4.0.0/domain/architecture/system/release/ops.bend as Opsimport Base
175# The first file the hub would refuse, "" when there is none.
176def hub_refused(fs: List<&2, String>) -> String:
177 match fs:
178 case []:
179 ""
180 case +f <> rest:
181 Bool.pick(String, hub_path_ok(f), hub_refused(rest), f)