MCPcopy Create free account
hub / github.com/daisy/MathCAT / abs_rules_dir_path

Function abs_rules_dir_path

src/prefs.rs:959–961  ·  view source on GitHub ↗

Version of abs_rules_dir_path that returns a PathBuf

()

Source from the content-addressed store, hash-verified

957
958 /// Version of abs_rules_dir_path that returns a PathBuf
959 fn abs_rules_dir_path() -> PathBuf {
960 return PathBuf::from(super::super::abs_rules_dir_path());
961 }
962 /// Return a relative path to Rules dir (ie, .../Rules/zz... returns zz/...)
963 /// strip .../Rules from file path
964 fn rel_path(rules_dir: &Option<PathBuf>, path: &Option<PathBuf>) -> PathBuf {

Callers 11

find_simple_styleFunction · 0.70
find_unicode_filesFunction · 0.70
found_all_filesFunction · 0.70
file_found_orderFunction · 0.70
test_prefsFunction · 0.70
test_language_changeFunction · 0.70
test_speech_style_changeFunction · 0.70
test_some_changesFunction · 0.70
test_up_to_dateFunction · 0.70

Calls

no outgoing calls

Tested by 11

find_simple_styleFunction · 0.56
find_unicode_filesFunction · 0.56
found_all_filesFunction · 0.56
file_found_orderFunction · 0.56
test_prefsFunction · 0.56
test_language_changeFunction · 0.56
test_speech_style_changeFunction · 0.56
test_some_changesFunction · 0.56
test_up_to_dateFunction · 0.56