static function hackedFileGroup::fromDirectory in Hacked! 8.2
Return a new hackedFileGroup listing all files inside the given $path.
1 call to hackedFileGroup::fromDirectory()
- hackedProject::hash_remote_project in src/
hackedProject.php - Hashes the remote project downloaded earlier.
File
- src/
hackedFileGroup.php, line 31
Class
- hackedFileGroup
- Represents a group of files on the local filesystem.
Namespace
Drupal\hackedCode
static function fromDirectory($path) {
$filegroup = new hackedFileGroup($path);
// Find all the files in the path, and add them to the file group.
$filegroup
->scan_base_path();
return $filegroup;
}