Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScanOptions

memberof

fsn/nextra

property

{Function} [filter] A filter function receiving (dirent, path) to determine if the returned map should include a given entry

property

{number} [depthLimit] How many directories deep the scan should go (0 is just the children of the passed root directory, no subdirectory files)

Hierarchy

  • ScanOptions

Index

Properties

Properties

Optional depthLimit

depthLimit: undefined | number

Optional filter

filter: undefined | ((dirent: Dirent, path: string) => boolean)

Generated using TypeDoc