Options
All
  • Public
  • Public/Protected
  • All
Menu

Support for implementations of Project interface

Hierarchy

Implements

Index

Constructors

Protected constructor

Properties

Readonly cache

cache: Record<string, object>

Private cachedFiles

cachedFiles: Promise<File[]> | undefined

Cached paths

id

shouldCache

shouldCache: boolean

Accessors

dirty

  • get dirty(): boolean

name

  • get name(): string

Methods

add

  • add(f: File): Promise<this>

Abstract addDirectory

  • addDirectory(path: string): Promise<this>

Abstract addFile

  • addFile(path: string, content: string): Promise<this>

Abstract addFileSync

  • addFileSync(path: string, content: string): void

Abstract deleteDirectory

  • deleteDirectory(path: string): Promise<this>

Abstract deleteDirectorySync

  • deleteDirectorySync(path: string): void

Abstract deleteFile

  • deleteFile(path: string): Promise<this>

Abstract deleteFileSync

  • deleteFileSync(path: string): void

Abstract directoryExistsSync

  • directoryExistsSync(path: string): boolean

Abstract fileExistsSync

  • fileExistsSync(path: string): boolean

Abstract findFile

  • findFile(path: string): Promise<File>

Abstract findFileSync

  • findFileSync(path: string): File

flush

  • flush(): Promise<this>

Abstract getFile

  • getFile(path: string): Promise<File | undefined>

getFiles

  • getFiles(globPatterns?: string | string[]): Promise<File[]>

Protected getFilesInternal

  • getFilesInternal(globPatterns: string[]): Promise<File[]>

Abstract hasDirectory

  • hasDirectory(path: string): Promise<boolean>

hasFile

  • hasFile(path: string): Promise<boolean>

Protected invalidateCache

  • invalidateCache(): void

Abstract makeExecutable

  • makeExecutable(path: string): Promise<this>

Abstract makeExecutableSync

  • makeExecutableSync(path: string): void

moveFile

  • moveFile(oldPath: string, newPath: string): Promise<this>

recordAction

recordAddFile

  • recordAddFile(path: string, content: string): this

recordDeleteFile

  • recordDeleteFile(path: string): this

streamFiles

  • streamFiles(...globPatterns: string[]): FileStream

Abstract streamFilesRaw

totalFileCount

  • totalFileCount(): Promise<number>

trackFile

Generated using TypeDoc