fix: correct import paths from crate::common to crate::modes::common
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
pub mod is_binary;
|
pub mod is_binary;
|
||||||
pub mod is_binary;
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use std::env;
|
|||||||
use std::process;
|
use std::process;
|
||||||
use uzers::{get_current_uid, get_current_gid, get_current_username, get_current_groupname};
|
use uzers::{get_current_uid, get_current_gid, get_current_username, get_current_groupname};
|
||||||
|
|
||||||
use crate::common::is_binary::is_binary;
|
use crate::modes::common::is_binary::is_binary;
|
||||||
use crate::meta_plugin::MetaPlugin;
|
use crate::meta_plugin::MetaPlugin;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ use anyhow::anyhow;
|
|||||||
use std::io::{Read, Write};
|
use std::io::{Read, Write};
|
||||||
|
|
||||||
use crate::compression_engine::{CompressionType, get_compression_engine};
|
use crate::compression_engine::{CompressionType, get_compression_engine};
|
||||||
use crate::common::is_binary::is_binary;
|
use crate::modes::common::is_binary::is_binary;
|
||||||
use clap::Command;
|
use clap::Command;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ use log::warn;
|
|||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
|
|
||||||
use crate::modes::server::common::{AppState, ApiResponse, check_auth};
|
use crate::modes::server::common::{AppState, ApiResponse, check_auth};
|
||||||
use crate::common::status::{generate_status_info, StatusInfo};
|
use crate::modes::common::status::{generate_status_info, StatusInfo};
|
||||||
use crate::meta_plugin::MetaPluginType;
|
use crate::meta_plugin::MetaPluginType;
|
||||||
|
|
||||||
pub async fn handle_status(
|
pub async fn handle_status(
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ use prettytable::{Attr, Cell, Row, Table};
|
|||||||
use prettytable::format::consts::FORMAT_NO_BORDER_LINE_SEPARATOR;
|
use prettytable::format::consts::FORMAT_NO_BORDER_LINE_SEPARATOR;
|
||||||
|
|
||||||
use crate::meta_plugin::MetaPluginType;
|
use crate::meta_plugin::MetaPluginType;
|
||||||
use crate::common::status::{generate_status_info, StatusInfo, PathInfo, CompressionInfo, MetaPluginInfo};
|
use crate::modes::common::status::{generate_status_info, StatusInfo, PathInfo, CompressionInfo, MetaPluginInfo};
|
||||||
|
|
||||||
fn build_path_table(path_info: &PathInfo) -> Table {
|
fn build_path_table(path_info: &PathInfo) -> Table {
|
||||||
let mut path_table = Table::new();
|
let mut path_table = Table::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user