|
@@ 375-380 (lines=6) @@
|
| 372 |
|
Filesystem::signal_param_path => $this->getHookPath($path), |
| 373 |
|
Filesystem::signal_param_run => &$run, |
| 374 |
|
)); |
| 375 |
|
} else { |
| 376 |
|
\OC_Hook::emit(Filesystem::CLASSNAME, Filesystem::signal_update, array( |
| 377 |
|
Filesystem::signal_param_path => $this->getHookPath($path), |
| 378 |
|
Filesystem::signal_param_run => &$run, |
| 379 |
|
)); |
| 380 |
|
} |
| 381 |
|
\OC_Hook::emit(Filesystem::CLASSNAME, Filesystem::signal_write, array( |
| 382 |
|
Filesystem::signal_param_path => $this->getHookPath($path), |
| 383 |
|
Filesystem::signal_param_run => &$run, |
|
@@ 795-801 (lines=7) @@
|
| 792 |
|
if ($path == null) { |
| 793 |
|
return false; |
| 794 |
|
} |
| 795 |
|
if ($this->shouldEmitHooks($path)) { |
| 796 |
|
\OC_Hook::emit( |
| 797 |
|
Filesystem::CLASSNAME, |
| 798 |
|
Filesystem::signal_read, |
| 799 |
|
array(Filesystem::signal_param_path => $this->getHookPath($path)) |
| 800 |
|
); |
| 801 |
|
} |
| 802 |
|
list($storage, $internalPath) = Filesystem::resolvePath($absolutePath . $postFix); |
| 803 |
|
if ($storage) { |
| 804 |
|
$result = $storage->hash($type, $internalPath, $raw); |