MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / read_cache_path

Function read_cache_path

rust/src/config.rs:346–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344}
345
346fn read_cache_path() -> String {
347 let mut cache_path: String = path_to_string(&default_cache_folder());
348 CACHE_PATH.with(|value| {
349 let path: String = (&*value.borrow().to_string()).into();
350 if !path.is_empty() {
351 cache_path = path;
352 }
353 });
354 cache_path
355}
356
357#[cfg(not(windows))]
358fn get_win_os_architecture() -> String {

Callers 3

defaultMethod · 0.85
get_configFunction · 0.85
check_cache_pathFunction · 0.85

Calls 4

path_to_stringFunction · 0.85
default_cache_folderFunction · 0.85
is_emptyMethod · 0.80
withMethod · 0.65

Tested by 1

get_configFunction · 0.68