def list_directory(self, path):
        import pysvn, time
        client = pysvn.Client()
        dirlist = client.list("file://%s%s"%(self.path, path),
                              depth=pysvn.depth.immediates)
        results = []
        for item, locked in dirlist:
            if item.repos_path == path:
                continue
            results.append({
                'filename': os.path.basename(item.path),
                'dir_flag': (item.kind == pysvn.node_kind.dir),
                'size': item.size,
                'date': time.ctime(item.time),
                'author': item.last_author
            })
        return results
dataset/ETHPy150Open washingtontimes/django-repositories/repositories/vcs.old.py/SubversionRepository.list_directory/original