folder::size()

Returns the entire size of the directory and all its contents

  • return (int)