function drush_get_tar_executable

8.0.x environment.inc drush_get_tar_executable()
6.x environment.inc drush_get_tar_executable()
7.x environment.inc drush_get_tar_executable()
5.x environment.inc drush_get_tar_executable()
master environment.inc drush_get_tar_executable()

Return tar executable name specific for the current OS

3 calls to drush_get_tar_executable()
drush_archive_dump in commands/core/archive.drush.inc
Command callback. Generate site archive file.
drush_tarball_extract in includes/drush.inc
Extract a tarball.
make_tar in commands/make/make.utilities.inc
@todo drush_archive_dump() also makes a tar. Consolidate?

File

includes/environment.inc, line 522
Functions used by drush to query the environment and setting the current configuration.

Code

function drush_get_tar_executable() {
  return drush_is_windows() ? (drush_is_mingw() ? "tar.exe" : "bsdtar.exe") : "tar";
}