Dynamic module wrench

Index

Classes

Functions

Functions

chmodSyncRecursive(sourceDir: string, filemode: number)

Parameters

  • sourceDir: string
  • filemode: number

chownSyncRecursive(sourceDir: string, uid: number, gid: number)

Parameters

  • sourceDir: string
  • uid: number
  • gid: number

copyDirRecursive(srcDir: string, newDir: string, fn: (err: Error) => void)

Parameters

  • srcDir: string
  • newDir: string
  • fn: (err: Error) => void

copyDirSyncRecursive(sourceDir: string, newDirLocation: string, opts?: { preserve?: boolean; })

Parameters

  • sourceDir: string
  • newDirLocation: string
  • opts?: { preserve?: boolean; } optional

mkdirSyncRecursivefunction(path: string, mode: number)

Parameters

  • path: string
  • mode: number

readdirRecursive(baseDir: string, fn: (err: Error, files: string[]) => void)

Parameters

  • baseDir: string
  • fn: (err: Error, files: string[]) => void

readdirSyncRecursive(baseDir: string): Array<string>

Parameters

  • baseDir: string

Returns

Array<string>

rmdirRecursive(path: string, fn: (err: Error) => void)

Parameters

  • path: string
  • fn: (err: Error) => void

rmdirSyncRecursive(path: string, failSilent?: boolean)

Parameters

  • path: string
  • failSilent?: boolean optional