def BasenamePath(self, path):
    if path.endswith(self.PATH_SEPARATOR):
      path = path[:-1]
    _, _, basename = path.rpartition(self.PATH_SEPARATOR)
    return basename
Determines the basename of the path.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/file_system.py/FileSystem.BasenamePath