code: func strippedIsolatedName(isolated string) string {
  	name := filepath.Base(isolated)
  	// Strip the extension if there is one.
  	if dotIndex := strings.LastIndex(name, "."); dotIndex != -1 {
  		return name[0:dotIndex]
  	}
  	return name
  }
docs: // strippedIsolatedName returns the base name of an isolated path, with the extension (if any) removed.