(files)
| 828 | |
| 829 | |
| 830 | def _simplify_tree(files): |
| 831 | ret = {} |
| 832 | for path, info in files.items(): |
| 833 | if content := info.get("contents"): |
| 834 | ret[path] = _simplify_tree(content) |
| 835 | else: |
| 836 | ret[path] = None |
| 837 | return ret |
| 838 | |
| 839 | |
| 840 | def test_ls_tree(tmp_dir, scm, dvc): |
no test coverage detected