Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
symlink example
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Oct 31, 2011
1 parent 9e03ae7 commit 861dea8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/symlink-write.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
var fstream = require("../fstream.js")

fstream
.Writer({ path: "path/to/symlink"
, linkpath: "./file"
, isSymbolicLink: true
, mode: "0755" // octal strings supported
})
.end()

0 comments on commit 861dea8

Please sign in to comment.