chore: remove extra logs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use hyperlog_core::log::{GraphItem, ItemState};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub enum Command {
|
||||
CreateRoot {
|
||||
root: String,
|
||||
@@ -33,8 +34,10 @@ pub enum Command {
|
||||
},
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct Commander {}
|
||||
|
||||
#[allow(dead_code, unused_variables)]
|
||||
impl Commander {
|
||||
pub fn execute(&self, cmd: Command) -> anyhow::Result<()> {
|
||||
match cmd {
|
||||
@@ -57,8 +60,6 @@ impl Commander {
|
||||
Command::ToggleItem { root, path } => todo!(),
|
||||
Command::Move { root, src, dest } => todo!(),
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub async fn create_root(&self, root: &str) -> anyhow::Result<()> {
|
||||
|
@@ -1,9 +1,8 @@
|
||||
use std::{collections::HashMap, net::SocketAddr};
|
||||
|
||||
use hyperlog_protos::hyperlog::{
|
||||
graph_server::{Graph, GraphServer},
|
||||
*,
|
||||
};
|
||||
use std::net::SocketAddr;
|
||||
use tonic::{transport, Response};
|
||||
|
||||
use crate::{
|
||||
@@ -11,6 +10,7 @@ use crate::{
|
||||
state::SharedState,
|
||||
};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct Server {
|
||||
querier: Querier,
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
use std::{net::SocketAddr, sync::Arc};
|
||||
use std::net::SocketAddr;
|
||||
|
||||
use axum::{extract::MatchedPath, http::Request, routing::get, Router};
|
||||
use tower_http::trace::TraceLayer;
|
||||
|
Reference in New Issue
Block a user