<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resync(self, alias):
 """ Return full contents of directory as a zdir_patch list. """

        return Zlist(lib.zdir_resync(self._as_parameter_, alias), True)