aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/OCSqlitePlatform.php
blob: 3e2b10e6e40739b04855346fc804d122bf1c899e (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

/**
 * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
namespace OC\DB;

class OCSqlitePlatform extends \Doctrine\DBAL\Platforms\SqlitePlatform {
}
.ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OC\Files\Cache;

class NullWatcher extends Watcher {
	private $policy;

	public function __construct() {
	}

	public function setPolicy($policy) {
		$this->policy = $policy;
	}

	public function getPolicy() {
		return $this->policy;
	}

	public function checkUpdate($path, $cachedEntry = null) {
		return false;
	}

	public function update($path, $cachedData) {
	}

	public function needsUpdate($path, $cachedData) {
		return false;
	}

	public function cleanFolder($path) {
	}
}