Plan.ignore.put: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/init/plan.bend as Plan Lines 146-154 of ezx@1.11.0.0/src/init/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/init/plan.bend&start_line=146&end_line=154 import Base import ezx@1.11.0.0/src/lock/plan.bend as P # `.gitignore` written ahead of the rest when it lacks a rule. Nothing to add # means nothing written, so an `ez init` in a directory whose ignore file # already has the rules leaves it exactly as it found it. def ignore.put(ms: List<&2, String>, +text: String, rest: List<&2, P.Effect>) -> List<&2, P.Effect>: match ms: case Nil{}: rest case Con{h, t}: P.Write{ignore.file(), ignored(text, h <> t)} <> rest Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/init/plan.bend&name=ignore.file https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/init/plan.bend&name=ignored https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=Effect