'Return a copy of this entry with the given path prepended.'

def in_path(self, path):

    if (not isinstance(self.path, bytes)):
        raise TypeError(('Expected    bytes    for    path,    got    %r' % path))
    return TreeEntry(posixpath.join(path, self.path), self.mode, self.sha)
