'Parse the paths from the fixture.'

def PopulateCache(self):

    if self.paths:
        return
    self.paths = self.__class__.cache[self.prefix] = {}
    for (path, (vfs_type, attributes)) in client_fixture.VFS:
        if (not path.startswith(self.prefix)):
            continue
        path = utils.NormalizePath(path[len(self.prefix):])
        if (path == '/'):
            continue
        stat = rdf_client.StatEntry()
        args = {'client_id': 'C.1234'}
        attrs = attributes.get('aff4:stat')
        if attrs:
            attrs %= args
            stat = rdf_client.StatEntry.FromTextFormat(utils.SmartStr(attrs))
        stat.pathspec = rdf_paths.PathSpec(pathtype=self.supported_pathtype, path=path)
        stat.st_dev = 1
        path = self._NormalizeCaseForPath(path, vfs_type)
        self.paths[path] = (vfs_type, stat)
    self.BuildIntermediateDirectories()
