![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Namespaces | |
| namespace | test-zstd-versions |
| namespace | test |
| -lz4-abi | |
Functions | |
| execute (command, print_output=False, print_error=True, param_shell=False) | |
| proc (cmd_args, pipe=True, dummy=False) | |
| make (targets, pipe=True) | |
| git (args, pipe=True) | |
| get_git_tags () | |
| create_dict (tag, dict_source_path) | |
| dict_compress_sample (tag, sample) | |
| compress_sample (tag, sample) | |
| sha1_of_file (filepath) | |
| remove_duplicates () | |
| decompress_zst (tag) | |
| decompress_dict (tag) | |
Variables | |
| str | repo_url = 'https://github.com/facebook/zstd.git' |
| str | tmp_dir_name = 'tests/versionsTest' |
| str | make_cmd = 'make' |
| list | make_args = ['-j','CFLAGS=-O1'] |
| str | git_cmd = 'git' |
| str | test_dat_src = 'README.md' |
| str | test_dat = 'test_dat' |
| str | head = 'vdevel' |
| str | dict_source = 'dict_source' |
| str | dict_files = './zstd/programs/*.c ./zstd/lib/common/*.c ./zstd/lib/compress/*.c ./zstd/lib/decompress/*.c ./zstd/lib/dictBuilder/*.c ./zstd/lib/legacy/*.c ' |
| int | error_code = 0 |
| str | base_dir = os.getcwd() + '/..' |
| str | tmp_dir = base_dir + '/' + tmp_dir_name |
| str | clone_dir = tmp_dir + '/' + 'zstd' |
| str | dict_source_path = tmp_dir + '/' + dict_source |
| str | programs_dir = base_dir + '/programs' |
| exist_ok | |
| alltags = get_git_tags() + [head] | |
| list | tags = [t for t in alltags if t >= 'v0.5.0'] |
| str | dst_zstd = '{}/zstd.{}'.format(tmp_dir, tag) |
| str | r_dir = '{}/{}'.format(tmp_dir, tag) |
| param_shell | |
| zstds = sorted(glob.glob('*.zst')) | |