You are here

function hackedProject::file_is_diffable in Hacked! 8.2

1 call to hackedProject::file_is_diffable()
hackedProject::compute_details in src/hackedProject.php
Return a nice detailed report.

File

src/hackedProject.php, line 358

Class

hackedProject
Encapsulates a Hacked! project.

Namespace

Drupal\hacked

Code

function file_is_diffable($file) {
  $this
    ->hash_remote_project();
  $this
    ->hash_local_project();
  return $this->remote_files
    ->is_not_binary($file) && $this->local_files
    ->is_not_binary($file);
}