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

Function isValidLicenseActive

packages/shared/src/entitlements.ts:139–144  ·  view source on GitHub ↗
(_license: License | null)

Source from the content-addressed store, hash-verified

137}
138
139export const isValidLicenseActive = (_license: License | null): boolean => {
140 return (
141 isValidOfflineLicenseActive() ||
142 isValidOnlineLicenseActive(_license)
143 );
144}
145
146export const isAnonymousAccessAvailable = (_license: License | null): boolean => {
147 const offlineKey = getValidOfflineLicense();

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected