You are here

function hackedFileGroup::is_not_binary in Hacked! 8.2

Determine if the given file is binary.

File

src/hackedFileGroup.php, line 91

Class

hackedFileGroup
Represents a group of files on the local filesystem.

Namespace

Drupal\hacked

Code

function is_not_binary($file) {
  return is_readable($this->base_path . '/' . $file) && !hacked_file_is_binary($this->base_path . '/' . $file);
}