1#ifndef _DITTO_DISK_USAGE_
2#define _DITTO_DISK_USAGE_
4#include "DittoHandleWrapper.hpp"
12class DittoHandleWrapper;
25 FileSystemType fs_type;
27 uint64_t size_in_bytes;
28 std::vector<DiskUsageChild> children;
44 DiskUsageObserver_t *inner_context;
55 static void on_event(
void *ctx, slice_boxed_uint8 cbor);
56 void set_handle(DiskUsageObserver_t *inner_context);
73 explicit DiskUsage(std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper,
74 FsComponent component);
78 FsComponent component;
79 std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper;
82 std::shared_ptr<DiskObserverContext> observe(DiskUsageCallback cb);
Represents an attachment and can be used to insert the associated attachment into a document at a spe...
Definition: Attachment.hpp:22
Provides access to authentication information and methods for logging on to Ditto Cloud....
Definition: Authenticator.hpp:26
Definition: DiskUsage.hpp:37
Definition: DiskUsage.hpp:21
Provides an interface to be able to monitor local files.
Definition: DiskUsage.hpp:65
The entrypoint to the Ditto SDK.
Definition: Ditto.hpp:28
Provides access to Collections and a write transaction API.
Definition: Store.hpp:21