git_store/utils

Values

pub fn build_path(base: String, segments: List(String)) -> String
pub fn encode_content(content: String) -> String

Encode string to Base64

pub fn set_json(
  req: request.Request(String),
  json_body: option.Option(String),
) -> request.Request(String)

Set the JSON content type header and JSON body if json_body is not None

Search Document