def METHOD_NAME(path):
  """Sometimes kernel paths start with
  /buildbot/src/partner-android/BRANCH/private/PROJ.  We want to remove all
  of this."""
  # Remove the stuff before 'private', since it is build-server dependent
  # and not part of the final URL.
  if '/private/' in path:
    path_parts = path.split('/')
    path_parts = path_parts[path_parts.index('private') + 2:]
    return '/'.join(path_parts)
  return path