def DirnamePath(self, path):
    if path.endswith(self.PATH_SEPARATOR):
      path = path[:-1]
    if not path:
      return
    dirname, _, _ = path.rpartition(self.PATH_SEPARATOR)
    return dirname
Placeholder.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/file_system.py/FileSystem.DirnamePath--crossover with--dataset/ETHPy150Open ecdavis/pants/pants/contrib/irc.py/IRCClient.irc_message_channel