def pub.configs

bolt@1.27.0.0 · src/lsp/server.bend:307

import bolt@1.27.0.0/src/lsp/server.bend as Server
import Base
import bolt@1.27.0.0/src/lsp/proto.bend as Proto
import bolt@1.27.0.0/src/lsp/files/service.bend as F

307# the texts of a document's bolt.bend candidates, as the files hold them
308def pub.configs(~fs: F.Files, +uri: String) -> IO(List<&2, Maybe<&2, String>>):
309  do IO<List<&2, Maybe<&2, String>>>:
310    cwd : String <- F.cwd(fs)
311    F.read_all(~fs, pub.cands(cwd, Proto.path(uri)))

Uses (10)

Used by (3)