MCPcopy Index your code
hub / github.com/syncthing/syncthing / refreshCluster

Function refreshCluster

gui/default/syncthing/core/syncthingController.js:712–723  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

710 }
711
712 function refreshCluster() {
713 return $q.all([
714 $http.get(urlbase + '/cluster/pending/devices').success(function (data) {
715 $scope.pendingDevices = data;
716 console.log("refreshCluster devices", data);
717 }).error($scope.emitHTTPError),
718 $http.get(urlbase + '/cluster/pending/folders').success(function (data) {
719 $scope.pendingFolders = data;
720 console.log("refreshCluster folders", data);
721 }).error($scope.emitHTTPError),
722 ]);
723 }
724
725 function refreshDiscoveryCache() {
726 return $http.get(urlbase + '/system/discovery').success(function (data) {

Callers 1

Calls 2

logMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected