Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FilesScannerSingleton

Managing files from drag'n'drop inside main window, or from electron folder selector

  • in browser use File API
  • in electron, use Node.js package 'walker'

Hierarchy

  • FilesScannerSingleton

Index

Constructors

Private constructor

Properties

countFiles

countFiles: number = 0

notSupportedExtensions

notSupportedExtensions: Set<unknown> = new Set()

scanPromise

scanPromise: any

scanReject

scanReject: any

scanResolve

scanResolve: any

scannedFiles

scannedFiles: any = []

Static Private instance

Methods

clearInternals

  • clearInternals(): void

Private getAllNotSupportedExtensions

  • getAllNotSupportedExtensions(): string

Private handleFile

  • handleFile(file: any): void

Private parseFiles

  • parseFiles(files: any): void

scanFilesFromBrowser

  • scanFilesFromBrowser(ev: any): any

scanFilesFromElectron

  • scanFilesFromElectron(path: string): any

Private updateCounter

  • updateCounter(quantity: number): void

Static getInstance

Generated using TypeDoc