Entrypoint for accessing information about the amount of disk storage used by Ditto. This class can’t be instantiated. You can access an instance through the ditto.diskUsage API.


  • Returns a single DiskUsageItem representing a tree of directories with file size information. Use the observe() method to access the same information with callbacks as the size of files change over time.