Skip to content

Commit

Permalink
fix #206: document name option
Browse files Browse the repository at this point in the history
  • Loading branch information
silkentrance committed Jan 27, 2020
1 parent 6e79e62 commit eb76564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ tmp.setGracefulCleanup();

All options are optional :)

* `name`: a fixed name that overrides random name generation
* `mode`: the file mode to create with, it fallbacks to `0600` on file creation and `0700` on directory creation
* `prefix`: the optional prefix, fallbacks to `tmp-` if not provided
* `postfix`: the optional postfix, fallbacks to `.tmp` on file creation
Expand Down

0 comments on commit eb76564

Please sign in to comment.