code: func parsePodUIDFromLogsDirectory(name string) types.UID {
  	parts := strings.Split(name, logPathDelimiter)
  	return types.UID(parts[len(parts)-1])
  }
docs: // parsePodUIDFromLogsDirectory parses pod logs directory name and returns the pod UID.
  // It supports both the old pod log directory /var/log/pods/UID, and the new pod log
  // directory /var/log/pods/NAMESPACE_NAME_UID.