Datalayer VS Code Extension - v0.0.6
    Preparing search index...

    Tree item for displaying a snapshot in the VS Code tree view. Shows snapshot details with appropriate icons and formatting.

    const item = new SnapshotTreeItem(snapshot);
    // Displays: "my-checkpoint"
    // Description: "Python 3.11 • 2 days ago"

    Hierarchy

    • TreeItem
      • SnapshotTreeItem
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    snapshot: RuntimeSnapshotDTO

    The RuntimeSnapshotDTO instance to display

    Methods

    • Calculates and formats the time since snapshot was created.

      Returns string

      Formatted string like "2 days ago" or "5 hours ago"