is_tar#

composer.utils.is_tar(name)[source]#

Returns whether name has a tar-like extension.

Parameters

name (str | Path) โ€“ The name to check.

Returns

bool โ€“ Whether name is a tarball.