fmt
This commit is contained in:
parent
8ece5d8211
commit
196e79ed86
@ -1,5 +1,5 @@
|
||||
use crate::utils::avro_data_to_file_list;
|
||||
use crate::config::{ClusterByoc, Config};
|
||||
use crate::utils::avro_data_to_file_list;
|
||||
use crate::PROTOCOL_VERSION;
|
||||
|
||||
use reqwest::{Client, StatusCode};
|
||||
|
@ -2,11 +2,10 @@ use crate::cluster::{SyncFile, SyncFileList};
|
||||
|
||||
use std::io::Cursor;
|
||||
|
||||
use apache_avro::{from_avro_datum, from_value, types::Value};
|
||||
use md5::{Digest, Md5};
|
||||
use sha1::Sha1;
|
||||
use std::path::PathBuf;
|
||||
use apache_avro::{from_avro_datum, from_value, types::Value};
|
||||
|
||||
|
||||
/// import {join} from 'path'
|
||||
///
|
||||
@ -52,7 +51,6 @@ pub fn validate_file(buffer: &[u8], check_sum: &str) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// BYD avro 格式的文件列表
|
||||
pub const SYNC_FILE_LIST_SCHEMA: &str = r#"
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user