def files.of

ezx@1.11.0.0 · src/pub/plan.bend:579

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

579# the files of a package, with their texts, at the paths the hub holds them
580# at; none while there is no package
581def files.of(got: K.Walked) -> List<&2, K.Source>:
582  match got:
583    case K.Walked{_h, _root, fs, _sums}:
584      fs
585    case K.Asks{_at}:
586      []
587    case K.Refused{_why}:
588      []

Uses (3)

Used by (2)