def path.target.of

emerging-ezhttp@0.21.0.0 · src/url.bend:106

import emerging-ezhttp@0.21.0.0/src/url.bend as Url
import Base

106# origin-form path: absolute-path, then `?` query when the query is present
107def path.target.of(path: String, query: String, empty: Bool) -> String:
108  match empty:
109    case True{}:
110      path
111    case False{}:
112      path ++ "?" ++ query

Uses (3)

Used by (1)