bchelli/node-smb2

more information with readdir?

sirber opened this issue · 3 comments

Hi,

I would like to have more information about files and folders, like the timestamps, if it's a file or folder, etc.

Thank you!

I found in the sources:
lib/api/readdir.js
.map(function(v){ return v.Filename }) // get the filename only

I'll experiment a bit with it.

Hi @sirber,

This method need to keep the same signature than the one provided in nodejs

What you are looking for is the implementation of fs.stat

This is not yet done, feel free to write it 😃 and to create a pull request.

Thanks

Hi,
I'll look into it!

Stéphane Bérubé

Date: Sat, 23 May 2015 12:01:20 -0700
From: notifications@github.com
To: node-smb2@noreply.github.com
CC: sirber@hotmail.com
Subject: Re: [node-smb2] more information with readdir? (#5)

Hi @sirber,

This method need to keep the same signature than the one provided in nodejs

What you are looking for is the implementation of fs.stat

This is not yet done, feel free to write it and to create a pull request.

Thanks


Reply to this email directly or view it on GitHub.