git.fiddlerwoaroof.com
Raw Blame History
export function selectPackage(dispatchers, pkg) {
  fetch(`/packages/${R.replace("/", ":", pkg)}`)
    .then((v) => v.json())
    .then((it) => dispatchers.updateSymbols(pkg, it));
}

export function updatePackages(dispatchers) {
  fetch("/packages")
    .then((v) => v.json())
    .then((it) => dispatchers.updatePackages(it));
}