(infile, extracolumns=None, relroot=fsutil.USE_CWD)
| 83 | # tsv |
| 84 | |
| 85 | def iter_decls_tsv(infile, extracolumns=None, relroot=fsutil.USE_CWD): |
| 86 | if relroot and relroot is not fsutil.USE_CWD: |
| 87 | relroot = os.path.abspath(relroot) |
| 88 | for info, extra in _iter_decls_tsv(infile, extracolumns): |
| 89 | decl = _info.Declaration.from_row(info) |
| 90 | decl = decl.fix_filename(relroot, formatted=False, fixroot=False) |
| 91 | yield decl, extra |
| 92 | |
| 93 | |
| 94 | def write_decls_tsv(decls, outfile, extracolumns=None, *, |
nothing calls this directly
no test coverage detected
searching dependent graphs…