MCPcopy
hub / github.com/MetaCubeX/metacubexd / useControlInfo

Function useControlInfo

packages/ui/composables/useControlInfo.ts:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34export function useControlInfo() {
35 probe()
36 const hasFeature = (f: ControlFeature) =>
37 hasAgent.value && features.value.includes(f)
38 return { hasAgent, features, info, ready, hasFeature }
39}

Callers 14

useRuntimeConfigViewerFunction · 0.90
useGeoAssetsFunction · 0.90
fetchRemoteConfigAPIFunction · 0.90
useNetworkConfigFunction · 0.90
refreshFunction · 0.90
probeFunction · 0.90
useSystemProxyFunction · 0.90
useWebdavBackupFunction · 0.90
useRuleEditorFunction · 0.90
useUpdateConfigMutationFunction · 0.90
useTunFunction · 0.90
useKernelVersionsFunction · 0.90

Calls 1

probeFunction · 0.70

Tested by

no test coverage detected