O
O
Oleg2015-12-11 20:49:58
JavaScript
Oleg, 2015-12-11 20:49:58

How to get the size of a folder?

Can't get real directory size. Writes that size 496. Tell me how to get the desired result. I use the following function
fs.stat(path,callback)
Thank you for your attention

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2015-12-11
@halalala

Count the sum of the sizes of all nested files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question