@thingts/fs-path - v1.2.2
    Preparing search index...

    Interface FsReadDirectoryOptions

    Options for reading directories, used by FsPath.readDirectory and FsPath.glob

    interface FsReadDirectoryOptions {
        allowMissing?: boolean;
        includeDotfiles?: boolean;
        onlyDirs?: boolean;
        onlyFiles?: boolean;
    }

    Hierarchy

    • FsPathFilterOptions
      • FsReadDirectoryOptions
    Index

    Properties

    allowMissing?: boolean

    If true, return an empty array if the directory does not exist, rather than throwing an error. (Default: false)

    includeDotfiles?: boolean

    If true, include dotfiles in the result. (Default: true)

    onlyDirs?: boolean

    If true, only include directories in the result. (Default: false)

    onlyFiles?: boolean

    If true, only include files in the result. (Default: false)