def conf.near

bolt@1.27.0.0 · src/lint/plan.bend:495

import bolt@1.27.0.0/src/lint/plan.bend as Plan
import Base
import bolt@1.27.0.0/src/lint/world.bend as W
import bolt@1.27.0.0/src/config.bend as Config

495# a directory's config: the nearest bolt.bend the World could read among its
496# candidates, or the defaults
497def conf.near(+world: W.World, dir: String) -> Config.Config:
498  Config.nearest(texts.at(conf.chain(world, dir), world))

Uses (6)

Used by (2)