diff options
author | Trevor Norris <trev.norris@gmail.com> | 2014-04-14 16:35:33 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2014-04-14 16:35:33 -0700 |
commit | c7f424e44b7e61b89f91cd344599c3d1cdfb88fe (patch) | |
tree | d9aebb1e523a882c57a5068a5470b8b0870f2634 /src/node_file.cc | |
parent | 940974ed039d3c9a8befe608d9c95b2ffdb457d3 (diff) | |
download | node-new-c7f424e44b7e61b89f91cd344599c3d1cdfb88fe.tar.gz |
fs: return blksize on stats object
Oversight to not pass blksize to fs.Stats on initialization.
Also added a test to make sure the object property has been set. Since
now on Windows both blksize and blocks will simply be set to undefined.
Diffstat (limited to 'src/node_file.cc')
-rw-r--r-- | src/node_file.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_file.cc b/src/node_file.cc index 8b18b82c96..f50ed7ad40 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -400,6 +400,7 @@ Local<Value> BuildStatsObject(Environment* env, const uv_stat_t* s) { uid, gid, rdev, + blksize, ino, size, blocks, |