Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextContentResource

Hierarchy

  • TextContentResource

Implements

  • Resource

Index

Constructors

constructor

Properties

cache

cache: undefined | string

Protected disposable

disposable: Disposable

Readonly onDidChangeContents

onDidChangeContents: Event<void> = ...

Private onDidChangeContentsEmitter

onDidChangeContentsEmitter: Emitter<void> = ...

uri

uri: default

Methods

dispose

  • dispose(): void

readContents

  • readContents(options?: { encoding?: string }): Promise<string>

setContent

  • setContent(content: string): void