agent/containermetadata/utils.go
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
}
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
}
func getTaskMetadataDir ( taskARN string , dataDir string ) ( string , error ) { taskID , err := getTaskIDfromARN ( taskARN ) if err != nil { return " " , fmt . Errorf ( " " , err ) } return filepath . Join ( dataDir , metadataJoinSuffix , taskID ) , err }
// getTaskMetadataDir acquires the directory with all of the metadata
// files of a given task
getTaskMetadataDir acquires the directory with all of the metadata files of a given task