Skip to content

Commit

Permalink
Merge pull request #221 from raszi/gh-206
Browse files Browse the repository at this point in the history
Gh 206 document name option
  • Loading branch information
silkentrance committed Jan 27, 2020
2 parents 6e79e62 + eb76564 commit 44397a9
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 44397a9

Please sign in to comment.