Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MutableResource

Hierarchy

  • MutableResource

Implements

Index

Constructors

constructor

Properties

Private contents

contents: string = ""

Readonly onDidChangeContents

onDidChangeContents: Event<void> = this.onDidChangeContentsEmitter.event

Protected Readonly onDidChangeContentsEmitter

onDidChangeContentsEmitter: Emitter<void> = new Emitter<void>()

Readonly uri

uri: URI

Methods

dispose

  • dispose(): void

Protected fireDidChangeContents

  • fireDidChangeContents(): void

readContents

  • readContents(): Promise<string>

saveContents

  • saveContents(contents: string): Promise<void>