Welcome back.
In this video, let's see how we can get statistics about a fire, for example, the size of the fire
and some other properties.
So I'll bring in the face and the method is called stats and then I'll pass in the file that I want
know more about.
I want to know more about the index html file.
So index dot html.
The next one, I'm going to be the callback function this time around.
This callback function takes into arguments the error and then the actual statistics.
And here we go.
So here, if there are some error, we are going to console.log the error.
Otherwise we would go ahead and then console that log.
The actual statistics.
All right, like that.
So now let's run the application.
And indeed, these are the properties of this particular file called index, a HTML file.
One of the most important properties here is the size, which is in bytes.
The UID represents the user ID of the file and then the G ID also represents the group ID of the file.
All right, so what is it about this method in this video?
Let's work on how we can delete a file.