code: func getVersion() string {
  	slurp, err := ioutil.ReadFile(filepath.Join(camliDir, "VERSION"))
  	if err == nil {
  		return strings.TrimSpace(string(slurp))
  	}
  	return gitVersion()
  }
docs: // getVersion returns the version of Perkeep. Either from a VERSION file at the root,
  // or from git.