Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const RECOGNISED_EXTENSIONS

RECOGNISED_EXTENSIONS: string[] = [".jpg", ".jpeg", ".png"]

Functions

bySizeAscending

  • bySizeAscending(one: string, two: string): number

filterFilesForPage

  • filterFilesForPage(files: string[], currentPage: number): string[]

filterToDirectories

  • filterToDirectories(filePaths: string[]): string[]

filterToImages

  • filterToImages(filePaths: string[], outputter: IOutputter): string[]

findImagesInDirectory

  • findImagesInDirectory(imageInputDirOrFile: string, enableSubDirs: boolean, outputter: IOutputter): Promise<string[]>

findImagesInDirectoryAtPage

  • findImagesInDirectoryAtPage(imageInputDirOrFile: string, state: State, outputter: IOutputter): Promise<string[]>

Const getFileTypeOrNotEnoughPermissions

  • getFileTypeOrNotEnoughPermissions(filepath: string): FileType

Const isFileExtensionOk

  • isFileExtensionOk(filepath: string): boolean

readImagesAt

  • readImagesAt(imageInputDir: string, enableSubDirs: boolean, outputter: IOutputter): Promise<string[]>

readdirPromise

  • readdirPromise(imageInputDir: string): Promise<string[]>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc