MCPcopy Create free account
hub / github.com/BigBoot/AutoKuma / get_database_size

Method get_database_size

kuma-client/src/client.rs:1235–1238  ·  view source on GitHub ↗
(self: &Arc<Self>)

Source from the content-addressed store, hash-verified

1233 }
1234
1235 pub async fn get_database_size(self: &Arc<Self>) -> Result<u64> {
1236 let size: u64 = self.call("getDatabaseSize", vec![], "/size", true).await?;
1237 Ok(size)
1238 }
1239
1240 pub async fn shrink_database(self: &Arc<Self>) -> Result<()> {
1241 let _: bool = self.call("shrinkDatabase", vec![], "/ok", true).await?;

Callers 1

handleFunction · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected