code: func ValidatePathNoBacksteps(targetPath string) error {
  	parts := strings.Split(filepath.ToSlash(targetPath), "/")
  	for _, item := range parts {
  		if item == ".." {
  			return errors.New("must not contain '..'")
  		}
  	}
  
  	return nil
  }
docs: // ValidatePathNoBacksteps will make sure the targetPath does not have any element which is ".."