Run.ws.found: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/run.bend as Run Lines 386-394 of ezx@1.11.0.0/src/ws/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/run.bend&start_line=386&end_line=394 import Base import ezx@1.11.0.0/src/ws/workspace.bend as W import ezx@1.11.0.0/src/ws/root.bend as R import ezx@1.11.0.0/src/pkg/path.bend as P import ezx@1.11.0.0/src/ws/relock.bend as Rel # where `ez add` or `ez remove` runs, in what the search found def ws.found(+top: String, found: R.Found) -> IO(Rel.Ws): match found: case R.Within{root, rel}: do IO: rt : Rel.Rooted <- rooted(P.join(top, W.segs.text(root)), rel) return Rel.Inside{rt} case _: IO.pure(Rel.Ws, Rel.Own{}) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=join https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=Rooted https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=Ws https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/root.bend&name=Found https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/run.bend&name=rooted https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/workspace.bend&name=segs.text