ChangesCheck¶
-
class
OC\Updater\
ChangesCheck
¶ Source: lib/private/Updater/ChangesCheck.php#36
Constants¶
-
RESPONSE_NO_CONTENT = 0
Source: lib/private/Updater/ChangesCheck.php#44
-
RESPONSE_USE_CACHE = 1
Source: lib/private/Updater/ChangesCheck.php#45
-
RESPONSE_HAS_CONTENT = 2
Source: lib/private/Updater/ChangesCheck.php#46
Properties¶
-
protected static property
OC\Updater\ChangesCheck::$
clientService
¶ Source: lib/private/Updater/ChangesCheck.php#38 Type: \OCP\Http\Client\IClientService
Methods¶
-
public
OC\Updater\ChangesCheck::
__construct
($clientService, $mapper, $logger)¶ Source: lib/private/Updater/ChangesCheck.php#48
-
public
OC\Updater\ChangesCheck::
getChangesForVersion
($version)¶ Source: lib/private/Updater/ChangesCheck.php#57 Throws: \OCP\AppFramework\Db\DoesNotExistException
-
public
OC\Updater\ChangesCheck::
check
($uri, $version)¶ Source: lib/private/Updater/ChangesCheck.php#70 Throws: \Exception
-
protected
OC\Updater\ChangesCheck::
evaluateResponse
($response)¶ Source: lib/private/Updater/ChangesCheck.php#99
-
protected
OC\Updater\ChangesCheck::
cacheResult
($entry, $version)¶ Source: lib/private/Updater/ChangesCheck.php#114
-
protected
OC\Updater\ChangesCheck::
queryChangesServer
($uri, $entry)¶ Source: lib/private/Updater/ChangesCheck.php#126 Throws: \Exception
-
protected
OC\Updater\ChangesCheck::
extractData
($body)¶ Source: lib/private/Updater/ChangesCheck.php#139
-
public
OC\Updater\ChangesCheck::
normalizeVersion
($version)¶ - returns a x.y.z form of the provided version. Extra numbers will beomitted, missing ones added as zeros.
Source: lib/private/Updater/ChangesCheck.php#165