summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/jv.rs26
-rw-r--r--src/bin/jvv.rs12
2 files changed, 19 insertions, 19 deletions
diff --git a/src/bin/jv.rs b/src/bin/jv.rs
index 9593c9d..c785358 100644
--- a/src/bin/jv.rs
+++ b/src/bin/jv.rs
@@ -2,19 +2,7 @@ use cli_utils::input::input_with_editor;
use colored::Colorize;
use just_enough_vcs::{
data::compile_info::CoreCompileInfo,
- system::action_system::{action::ActionContext, action_pool::ActionPool},
- utils::{
- cfg_file::config::ConfigFile,
- data_struct::data_sort::quick_sort_with_cmp,
- sha1_hash,
- string_proc::{
- self,
- format_path::{format_path, format_path_str},
- snake_case,
- },
- tcp_connection::instance::ConnectionInstance,
- },
- vcs::{
+ lib::{
constants::{
CLIENT_FILE_TODOLIST, CLIENT_FILE_WORKSPACE, CLIENT_FOLDER_WORKSPACE_ROOT_NAME,
CLIENT_PATH_WORKSPACE_ROOT, PORT, VAULT_HOST_NAME,
@@ -79,6 +67,18 @@ use just_enough_vcs::{
},
},
},
+ system::action_system::{action::ActionContext, action_pool::ActionPool},
+ utils::{
+ cfg_file::config::ConfigFile,
+ data_struct::data_sort::quick_sort_with_cmp,
+ sha1_hash,
+ string_proc::{
+ self,
+ format_path::{format_path, format_path_str},
+ snake_case,
+ },
+ tcp_connection::instance::ConnectionInstance,
+ },
};
use std::{
collections::{BTreeMap, HashMap, HashSet},
diff --git a/src/bin/jvv.rs b/src/bin/jvv.rs
index 1fae774..0cac5c3 100644
--- a/src/bin/jvv.rs
+++ b/src/bin/jvv.rs
@@ -6,11 +6,7 @@ use cli_utils::{
};
use just_enough_vcs::{
data::compile_info::CoreCompileInfo,
- utils::{
- cfg_file::config::ConfigFile,
- string_proc::{self, pascal_case},
- },
- vcs::{
+ lib::{
connection::action_service::server_entry,
constants::SERVER_FILE_VAULT,
data::{
@@ -19,6 +15,10 @@ use just_enough_vcs::{
},
env::current_vault_path,
},
+ utils::{
+ cfg_file::config::ConfigFile,
+ string_proc::{self, pascal_case},
+ },
};
use just_enough_vcs_cli::data::compile_info::CompileInfo;
use log::{error, info};
@@ -402,7 +402,7 @@ async fn jvv_here(_args: HereArgs) {
if metadata.is_file() {
*total_size += metadata.len();
// Check if file name matches SERVER_NAME_VF_META
- if entry.file_name() == just_enough_vcs::vcs::constants::SERVER_NAME_VF_META {
+ if entry.file_name() == just_enough_vcs::lib::constants::SERVER_NAME_VF_META {
*file_count += 1;
}
} else if metadata.is_dir() {