Creates a new SnapshotsTreeProvider.
Authentication provider for user state management
Private_Event emitter for tree data changes. Fires when the tree needs to be refreshed.
PrivateauthAuthentication service for managing user authentication state.
ReadonlyonAn optional event to signal that an element or root has changed.
This will trigger the view to update the changed element/root and its children recursively (if shown).
To signal that root has changed, do not pass any argument or pass undefined or null.
PrivatesnapshotsCached array of runtime snapshots. Updated during loadSnapshots and cleared on refresh.
Disposes resources.
Gets the children of a tree item.
Optionalelement: SnapshotTreeItemThe parent element, or undefined for root
Array of snapshot tree items
Gets the tree item representation for display.
The tree item to convert
The tree item for VS Code to display
PrivateloadLoads snapshots from the SDK. Updates the cache with fresh snapshot data, filtering out deleted snapshots.
Refreshes the entire tree view by clearing cache and firing change event.
Tree data provider for the Datalayer Snapshots view. Implements VS Code's TreeDataProvider interface to display runtime snapshots.
Example