MCPcopy Create free account
hub / github.com/JayanAXHF/modder-rs / version

Function version

tui/src/cli.rs:23–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21);
22
23pub fn version() -> String {
24 let author = clap::crate_authors!();
25
26 // let current_exe_path = PathBuf::from(clap::crate_name!()).display().to_string();
27 let data_dir_path = get_data_dir().display().to_string();
28
29 format!(
30 "\
31{VERSION_MESSAGE}
32
33Authors: {author}
34
35Data directory: {data_dir_path}"
36 )
37}

Callers

nothing calls this directly

Calls 1

get_data_dirFunction · 0.85

Tested by

no test coverage detected