removed full-data option due to can set by profile #165

This commit is contained in:
DastInDark
2022-07-24 22:30:30 +09:00
parent e5f50896c7
commit 2ac2ced9b6
3 changed files with 12 additions and 18 deletions

View File

@@ -4,6 +4,7 @@ use crate::detections::utils::check_setting_path;
use crate::yaml;
use lazy_static::lazy_static;
use linked_hash_map::LinkedHashMap;
use std::collections::HashSet;
use std::fs::File;
use std::io::{BufWriter, Write};
use std::path::Path;
@@ -21,6 +22,13 @@ lazy_static! {
.to_str()
.unwrap()
);
pub static ref LOAEDED_PROFILE_ALIAS: HashSet<String> = HashSet::from_iter(
PROFILES
.as_ref()
.unwrap_or(&LinkedHashMap::default())
.values()
.cloned()
);
}
// 指定されたパスのprofileを読み込む処理