Ditto 4.8.1-rc.1
|
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.
More...
Public Member Functions | |
DittoDiskUsageChild | Exec () |
DittoDiskUsageObserver | Observe (Action< DittoDiskUsageChild > callback) |
Starts filesystem observation. Disk usage details will be passed in the callback as files in the Ditto directory change size over time. | |
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.
|
inline |
Starts filesystem observation. Disk usage details will be passed in the callback as files in the Ditto directory change size over time.
Invoke the DittoDiskUsageObserver.Stop() method on the handle to terminate callbacks.
callback | A callback that will be invoked regularly with DittoDiskUsageChild instances. |
DiskUsageObserverHandle
which should be held in scope to continue observation.