code: func getVersion() string {
  	slurp, err := ioutil.ReadFile(filepath.Join(pkRoot, "VERSION"))
  	v := strings.TrimSpace(string(slurp))
  	if err != nil && !os.IsNotExist(err) {
  		log.Fatal(err)
  	}
  	if v == "" {
  		return "unknown"
  	}
  	return v
  }
docs: // getVersion returns the version of Perkeep found in a VERSION file at the root.