Skip to content

resolvePluginDataPath()

API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.

resolvePluginDataPath(pluginId, source, basePath?): string | null

Defined in: plugin.ts:234

Resolve the compatibility data path used by loadData() and saveData().

Community plugins store data beside their manifest folder, while bundled and system plugins use the shared /.lapis/<id>.json location.

string

PluginSource

string

string | null