def get.scheme
import ezx@1.11.0.0/src/hub/get.bend as Getimport Base
35# a url whose scheme decides where the body comes from
36def get.scheme(file: Bool, url: String, path: String) -> IO(String):
37 match file:
38 case True{}:
39 get.file(path)
40 case False{}:
41 get.http(url)