Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CustomDocumentBackup

A backup for an CustomDocument.

Hierarchy

  • CustomDocumentBackup

Index

Properties

Methods

Properties

id: string

Unique identifier for the backup.

This id is passed back to your extension in openCustomDocument when opening a custom editor from a backup.

Methods

  • delete(): void
  • Delete the current backup.

    This is called by VS Code when it is clear the current backup is no longer needed, such as when a new backup is made or when the file is saved.

    Returns void