code: func StartsWithBackstep(rel string) bool {
  	// normalize to / and check for ../
  	return rel == ".." || strings.HasPrefix(filepath.ToSlash(rel), "../")
  }
docs: // StartsWithBackstep checks if the given path starts with a backstep segment