docs: def split_locator(self, path):
          """
          Split the path into a pair (locator, path).
  
          args:
              path (str): Absolute path or URL.
  
          Returns:
              tuple of str: locator, path.
          """
          relative = self.relpath(path)
          try:
              locator, tail = relative.split('/', 1)
          except ValueError:
              locator = relative
              tail = ''
          return locator, tail