def cookie.dir

emerging-ezhttp@0.21.0.0 · src/cookie.bend:51

import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie
import Base

51# replace Path
52def cookie.dir(c: Cookie, dir: String) -> Cookie:
53  match c:
54    case Cookie{name, value, expires, max_age, domain, path, secure, http_only,
55      same_site, host_only}:
56      Cookie{name, value, expires, max_age, domain, dir, secure, http_only,
57        same_site, host_only}

Uses (2)

Used by (1)