globalStorageUri

abstract val globalStorageUri: Uri(source)

The uri of a directory in which the extension can store global state. The directory might not exist on disk and creation is up to the extension. However, the parent directory is guaranteed to be existent.

Use ExtensionContext.globalState to store key value data.

See also

FileSystem for how to read and write files and folders from an uri.

Online Documentation