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

Function default_cache_folder

rust/src/files.rs:599–605  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

597}
598
599pub fn default_cache_folder() -> PathBuf {
600 if let Some(base_dirs) = BaseDirs::new() {
601 return Path::new(base_dirs.home_dir())
602 .join(String::from(CACHE_FOLDER).replace('/', std::path::MAIN_SEPARATOR_STR));
603 }
604 PathBuf::new()
605}
606
607pub fn compose_driver_path_in_cache(
608 driver_path: PathBuf,

Callers 1

read_cache_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected