Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReferenceMutableResource

Hierarchy

  • ReferenceMutableResource

Implements

Index

Constructors

Properties

Accessors

  • get onDidChangeContents(): Event<void>

Methods

  • dispose(): void
  • readContents(): Promise<string>
  • saveContents(contents: string): Promise<void>
  • Rewrites the complete content for this resource. If a resource does not exist it will be created.

    If a resource supports versioning clients can pass some version to check against it, if it is not provided latest version is used.

    It updates version and encoding to latest.

    Parameters

    • contents: string

    Returns Promise<void>