MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / isValidOfflineLicenseActive

Function isValidOfflineLicenseActive

packages/shared/src/entitlements.ts:131–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131export const isValidOfflineLicenseActive = (): boolean => {
132 return getValidOfflineLicense() !== null;
133}
134
135export const isValidOnlineLicenseActive = (_license: License | null): boolean => {
136 return getValidOnlineLicense(_license) !== null;

Callers 2

syncWithLighthouseFunction · 0.90
isValidLicenseActiveFunction · 0.85

Calls 1

getValidOfflineLicenseFunction · 0.85

Tested by

no test coverage detected