code: func getTaskMetadataDir(taskARN string, dataDir string) (string, error) {
  	taskID, err := getTaskIDfromARN(taskARN)
  	if err != nil {
  		return "", fmt.Errorf("get task metadata directory: %v", err)
  	}
  	return filepath.Join(dataDir, metadataJoinSuffix, taskID), err
  }
docs: // getTaskMetadataDir acquires the directory with all of the metadata
  // files of a given task