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

Function default_cache_folder

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

Source from the content-addressed store, hash-verified

611}
612
613pub fn default_cache_folder() -> PathBuf {
614 if let Some(base_dirs) = BaseDirs::new() {
615 return Path::new(base_dirs.home_dir())
616 .join(String::from(CACHE_FOLDER).replace('/', std::path::MAIN_SEPARATOR_STR));
617 }
618 PathBuf::new()
619}
620
621pub fn compose_driver_path_in_cache(
622 driver_path: PathBuf,

Callers 1

read_cache_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected