1#ifndef DITTO_DISK_USAGE_H
2#define DITTO_DISK_USAGE_H
4#include "DittoHandleWrapper.hpp"
13class DittoHandleWrapper;
23 friend class DiskUsage;
26 FileSystemType fs_type;
28 uint64_t size_in_bytes;
29 std::vector<DiskUsageChild> children;
38class DiskObserverContext {
39 friend class DiskUsage;
45 DiskUsageObserver_t *inner_context;
56 static void on_event(
void *ctx, slice_ref_uint8_t cbor);
57 void set_handle(DiskUsageObserver_t *inner_context);
60 ~DiskObserverContext();
69 friend class Attachment;
70 friend class Authenticator;
74 DiskUsage(std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper,
75 FsComponent component);
79 FsComponent component;
80 std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper;
Definition DiskUsage.hpp:22
Provides access to Collections and a transaction API.
Definition Store.hpp:65
Namespace for the Ditto C++ SDK types and functions.
Definition AbstractDocumentPath.hpp:19
std::function< void(DiskUsageChild)> DiskUsageCallback
A function that will get called when there are updates relating to a live query associated with a sin...
Definition DiskUsage.hpp:36