def pct.enc.path

bend-kit-url@0.4.1.0 · url.bend:31

import bend-kit-url@0.4.1.0/url.bend as Url
import Base

31def pct.enc.path(s: String, acc: String) -> String:
32  match s:
33    case SNil{}:
34      String.reverse(acc)
35    case SCon{Chr{+c}, t}:
36      pct.enc.path(t, pct.enc.push(c, acc, path_ok(c)))

Uses (5)

Used by (1)