<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def RDirs(self, pathlist):
 """Search for a list of directories in the Repository list."""

        cwd = self.cwd or self.fs._cwd
        return cwd.Rfindalldirs(pathlist)