def listing.files

ezx@1.11.0.0 · src/lock/plan.bend:275

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W

275# the committed sources a listing holds, none when git could not list them
276def listing.files(listing: W.Listing) -> List<&2, W.Source>:
277  match listing:
278    case W.Unlisted{_why}:
279      []
280    case W.Listed{fs}:
281      fs

Uses (3)

Used by (3)