Skip to main content

Module extract

Module extract 

Source
Expand description

ZIP archive extraction of the hyperd binary and its shared libraries. ZIP-archive extraction for the Hyper API release bundle.

The upstream archive nests hyperd plus its shared libraries inside a versioned top-level directory (e.g. tableauhyperapi-java-macos-arm64-release-main.0.0.24457.rc36858b6/) and then under lib/hyper/ on Linux/macOS or bin/hyper/ on Windows. This module flattens both layers so downstream consumers only see the hyperd runtime files. The layout is identical across the Java and C++ bundles, so this extractor is agnostic to which binding we download (we use Java — see url.rs for why).

Functions§

extract_hyperd
Extract everything under lib/hyper/ (or bin/hyper/ on Windows) from the Hyper API zip into dest_dir, flattening the wrapper prefixes away. Returns the list of extracted file paths relative to dest_dir.