Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CustomDocumentBackupContext

Additional information used to implement {@linkcode CustomEditableDocument.backup}.

层级

  • CustomDocumentBackupContext

索引

Properties(1)

Properties(1)

Readonly destination

destination: Uri

Suggested file location to write the new backup.

Note that your extension is free to ignore this and use its own strategy for backup.

If the editor is for a resource from the current workspace, destination will point to a file inside ExtensionContext.storagePath. The parent folder of destination may not exist, so make sure to created it before writing the backup to this location.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹