def env.names.put

shake@0.7.0.0 · src/cli.bend:1767

import shake@0.7.0.0/src/cli.bend as Cli
import Base

1767# an env var in front of the names, when there is one
1768def env.names.put(ev: Maybe<&2, String>, rest: List<&2, String>) -> List<&2, String>:
1769  match ev:
1770    case None{}:
1771      rest
1772    case Some{var}:
1773      var <> rest

Uses (3)

Used by (1)