mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
add basic smb notify support
at the moment this only works when using the smbclient based backend
This commit is contained in:
parent
c50d9aa6a5
commit
cf23de2702
4 changed files with 56 additions and 2 deletions
|
|
@ -301,6 +301,15 @@ class NativeShare extends AbstractShare {
|
|||
return $this->setAttribute($path, 'system.dos_attr.mode', $mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $path
|
||||
* @param callable $callback callable which will be called for each received change
|
||||
* @return mixed
|
||||
*/
|
||||
public function notify($path, callable $callback) {
|
||||
throw new \Exception('not implemented');
|
||||
}
|
||||
|
||||
public function __destruct() {
|
||||
unset($this->state);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue