aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/phorkie/File.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phorkie/File.php b/src/phorkie/File.php
index 3c6c56d..bc0950f 100644
--- a/src/phorkie/File.php
+++ b/src/phorkie/File.php
@@ -123,6 +123,10 @@ class File
*/
public function getToolInfos()
{
+ if ($this->repo->hash !== null) {
+ return array();
+ }
+
$tm = new Tool_Manager();
return $tm->getSuitable($this);
}