public function delTree($path){}
public function find($path){}
public function getTree($path){}
+ public function hash($type,$path,$raw){}
}
}
return $tree;
}
+
+ public function hash($type,$path,$raw){
+ if($return=hash_file($type,$this->datadir.$path,$raw)){
+ $this->notifyObservers($path,OC_FILEACTION_READ);
+ }
+ return $return;
+ }
}
?>
\ No newline at end of file
return $return;
}
}
+ static public function hash($type,$path,$raw=false){
+ if(self::canRead($path) and $storage=self::getStorage($path)){
+ return $storage->hash($type,self::getInternalPath($path),$raw);
+ }
+ }
}
?>