def get_parent_path(self):
        if self.is_root():
            return ''
        return posixpath.dirname(self.path.rstrip('/')) + '/'
Returns node's parent path or empty string if node is root.
dataset/ETHPy150Open codeinn/vcs/vcs/nodes.py/Node.get_parent_path