def stem

ezx@1.11.0.0 · src/tool/plan.bend:588

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/path.bend as Path

588# a file's last component without its `.bend`: `src/cli.bend` is `cli`
589def stem(+file: String) -> String:
590  Path.unbend(Path.base(file))

Uses (3)

Used by (1)