HomepageGitHub
  • Preparing search index...
  • The search index is not available
Hexo Post Parser
  • Hexo Post Parser
  • node/filemanager
  • <internal>
  • "fs"
  • opendir

Function opendir

  • opendir(path: PathLike, cb: ((err: ErrnoException, dir: Dir) => void)): void
  • Asynchronously open a directory. See the POSIX opendir(3) documentation for more details.

    Creates an fs.Dir, which contains all further functions for reading from and cleaning up the directory.

    The encoding option sets the encoding for the path while opening the directory and subsequent read operations.

    Since

    v12.12.0

    Parameters

    • path: PathLike
    • cb: ((err: ErrnoException, dir: Dir) => void)
        • (err: ErrnoException, dir: Dir): void
        • Parameters

          • err: ErrnoException
          • dir: Dir

          Returns void

    Returns void

    • Defined in node_modules/@types/node/fs.d.ts:3774
  • opendir(path: PathLike, options: OpenDirOptions, cb: ((err: ErrnoException, dir: Dir) => void)): void
  • Parameters

    • path: PathLike
    • options: OpenDirOptions
    • cb: ((err: ErrnoException, dir: Dir) => void)
        • (err: ErrnoException, dir: Dir): void
        • Parameters

          • err: ErrnoException
          • dir: Dir

          Returns void

    Returns void

    • Defined in node_modules/@types/node/fs.d.ts:3775

Settings

Member Visibility

Theme

Modules

  • Hexo Post Parser
    • a_index
    • buildPost
      • <internal>
    • dateMapper
      • <internal>
    • generatePostId
    • globals
    • gulp/utils
      • <internal>
    • index
    • markdown/toHtml
    • node/JSON
    • node/JSON
    • node/array-unique
    • node/color
      • <internal>
    • node/debug
      • <internal>
    • node/escape-string-regexp
    • node/filemanager
      • <internal>
        • "fs"
          • access
          • appendFile
          • chmod
          • chown
          • close
          • constants
          • copyFile
          • exists
          • fchmod
          • fchown
          • fdatasync
          • fstat
          • fsync
          • ftruncate
          • futimes
          • lchmod
          • lchown
          • link
          • lstat
          • lutimes
          • mkdir
          • mkdtemp
          • open
          • opendir
          • promises
          • read
          • readFile
          • readdir
          • readlink
          • readv
          • realpath
          • realpathSync
          • rename
          • rm
          • rmdir
          • stat
          • symlink
          • truncate
          • unlink
          • utimes
          • write
          • writeFile
          • writev
        • "node:stream/consumers"
        • "node:stream/promises"
        • Bluebird
        • EventEmitter
        • internal
          • finished
          • pipeline
    • node/jsdom
      • <internal>
        • Cookie
        • CookieJar
    • node/md5-file
    • node/sanitize-filename
    • node/slugify
      • <internal>
    • node/slugify/replacements
    • node/transliterate
    • node/transliterate/replacements
    • node/truncate-utf8-bytes
    • node/utils
    • node/uuid
    • parsePermalink
    • parsePost
    • shortcodes/codeblock
    • shortcodes/css
    • shortcodes/extractText
    • shortcodes/hyperlinks-md2html
    • shortcodes/include
    • shortcodes/script
    • shortcodes/time
    • shortcodes/youtube
    • types
    • types/_config
      • <internal>
    • types/parseOptions
    • types/postAuthor
    • types/postMap
    • types/postMeta
    • utils/string
  • BigIntStats
  • Dirent
  • MakeDirectoryOptions
  • NoParamCallback
  • ObjectEncodingOptions
  • PathLike
  • PathOrFileDescriptor
  • RmOptions
  • StatOptions
  • StatSyncOptions
  • Stats
  • StatsBase
  • WriteFileOptions
  • Dir
  • ReadStream
  • WriteStream
  • BigIntOptions
  • CopyOptions
  • CopySyncOptions
  • FSWatcher
  • OpenDirOptions
  • ReadAsyncOptions
  • ReadSyncOptions
  • ReadVResult
  • RmDirOptions
  • StatSyncFn
  • StatWatcher
  • WatchFileOptions
  • WatchOptions
  • WriteVResult
  • BufferEncodingOption
  • EncodingOption
  • Mode
  • OpenMode
  • ReadPosition
  • TimeLike
  • WatchEventType
  • WatchListener
  • access
  • accessSync
  • appendFile
  • appendFileSync
  • chmod
  • chmodSync
  • chown
  • chownSync
  • close
  • closeSync
  • copyFile
  • copyFileSync
  • cp
  • cpSync
  • createReadStream
  • createWriteStream
  • exists
  • existsSync
  • fchmod
  • fchmodSync
  • fchown
  • fchownSync
  • fdatasync
  • fdatasyncSync
  • fstat
  • fstatSync
  • fsync
  • fsyncSync
  • ftruncate
  • ftruncateSync
  • futimes
  • futimesSync
  • lchmod
  • lchmodSync
  • lchown
  • lchownSync
  • link
  • linkSync
  • lstat
  • lstatSync
  • lutimes
  • lutimesSync
  • mkdir
  • mkdirSync
  • mkdtemp
  • mkdtempSync
  • open
  • openSync
  • opendir
  • opendirSync
  • read
  • readFile
  • readFileSync
  • readSync
  • readdir
  • readdirSync
  • readlink
  • readlinkSync
  • readv
  • readvSync
  • realpath
  • realpathSync
  • rename
  • renameSync
  • rm
  • rmSync
  • rmdir
  • rmdirSync
  • stat
  • statSync
  • symlink
  • symlinkSync
  • truncate
  • truncateSync
  • unlink
  • unlinkSync
  • unwatchFile
  • utimes
  • utimesSync
  • watch
  • watchFile
  • write
  • writeFile
  • writeFileSync
  • writeSync
  • writev
  • writevSync