initial kompress tests
This commit is contained in:
parent
db47ba2d7e
commit
c3a77b6256
3 changed files with 42 additions and 1 deletions
|
@ -17,6 +17,7 @@ def _zstd_open(path: Path):
|
|||
|
||||
|
||||
def kopen(path: PathIsh, *args, **kwargs): # TODO is it bytes stream??
|
||||
# TODO allow passing in mode?
|
||||
pp = Path(path)
|
||||
suf = pp.suffix
|
||||
if suf in {'.xz'}:
|
||||
|
|
|
@ -14,7 +14,6 @@ import my.config.repos.rexport.dal as rexport
|
|||
|
||||
|
||||
def get_sources() -> Sequence[Path]:
|
||||
# TODO use zstd?
|
||||
# TODO rename to export_path?
|
||||
files = get_files(config.export_dir)
|
||||
res = list(map(CPath, files)); assert len(res) > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue