Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimpleFileToDelete

A simple implementation of a file to delete.

Hierarchy

  • SimpleFileToDelete

Implements

Index

Constructors

constructor

Properties

Private _NAME_AND_PATH

_NAME_AND_PATH: WithNameAndPath

Name and relative path information.

file

file: string

The path to the (local) file.

workspace

workspace: Workspace

the underlying workspace.

Accessors

name

  • get name(): string

path

  • get path(): string

Methods

onBeforeDelete

  • onBeforeDelete(): Promise<void>
  • The method that should be invoked BEFORE a deletion of that file starts.

    Returns Promise<void>

onDeleteCompleted

  • onDeleteCompleted(): Promise<void>
  • The method that should be invoked AFTER a deletion of that file has been finished.

    Returns Promise<void>

Generated using TypeDoc