8000 fildes.open should mkdir depending on flag · Issue #1 · thisconnect/fildes · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
fildes.open should mkdir depending on flag #1
Closed
@thisconnect

Description

@thisconnect

Regarding https://nodejs.org/api/fs.html#fs_fs_open_path_flags_mode_callback

fildes.open should mkdir when flag is 'w', 'w+', 'a' and 'a+'

in this case

  • catch error
  • if Error: ENOENT: no such file or directory try mkdir
  • then try opening again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0