1
I’m trying to get the size of the folder that is my project, the folder is called Testes
, and in my file server.js
i am using the following method:
fs.stat('/Testes', function(err,stats){
if(err) return console.log(err);
console.log(null, stats.size);
})
But you’re always calling me back null, 0
and not the actual size of the folder, I forgot something?