@strFields(t = None, v = None, f = "")
    @checkAuth(write=False)
    def files(self, auth, t, v, f):
        try:
            v = versions.VersionFromString(v)
        except (versions.ParseError, __HOLE__):
            v = versions.ThawVersion(v)
        f = deps.ThawFlavor(f)
        parentTrove = self.repos.getTrove(t, v, f, withFiles = False)
        # non-source group troves only show contained troves
        if trove.troveIsGroup(t):
            troves = sorted(parentTrove.iterTroveList(strongRefs=True))
            return self._write("group_contents", troveName = t, troves = troves)
        fileIters = []
        for n, v, f in self.repos.walkTroveSet(parentTrove, withFiles = False):
            files = self.repos.iterFilesInTrove(n, v, f,
                withFiles = True,
                sortByPath = True)
            fileIters.append(files)
        return self._write("files",
            troveName = t,
            fileIters = itertools.chain(*fileIters))
dataset/ETHPy150Open sassoftware/conary/conary/web/repos_web.py/ReposWeb.files