rules/imp/archive/index.js

Developer reference: this page includes exported implementation details. BUILD authors should prefer the User API reference.

extractArchiveTools()

extractArchiveTools(format)

Native-tool names extractArchive's script needs for a format (callers merge these into their declared core-tool set; the hermetic sandbox resolves no ambient PATH). "zip-unix" ("zip" and "zip-unix" are equivalent; both unpack via unzip).

ParameterTypeDescription
formatstringOne of "tar.gz", "tar.xz", "tar", "zip", or

Returns: string[]