1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- declare(strict_types=1);
- namespace OC\Lock;
- use OCP\Lock\ILockingProvider;
- class NoopLockingProvider implements ILockingProvider {
-
- public function isLocked(string $path, int $type): bool {
- return false;
- }
-
- public function acquireLock(string $path, int $type, ?string $readablePath = null): void {
-
- }
-
- public function releaseLock(string $path, int $type): void {
-
- }
-
- public function releaseAll(): void {
-
- }
-
- public function changeLock(string $path, int $targetType): void {
-
- }
- }
|