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

Function new_metadata

rust/src/metadata.rs:86–94  ·  view source on GitHub ↗
(log: &Logger)

Source from the content-addressed store, hash-verified

84}
85
86fn new_metadata(log: &Logger) -> Metadata {
87 log.trace("Metadata file does not exist. Creating a new one".to_string());
88 Metadata {
89 browsers: Vec::new(),
90 drivers: Vec::new(),
91 stats: Vec::new(),
92 cached_assets: Vec::new(),
93 }
94}
95
96pub fn get_metadata(log: &Logger, cache_path: &Option<PathBuf>) -> Metadata {
97 if let Some(cache) = cache_path {

Callers 1

get_metadataFunction · 0.85

Calls 1

traceMethod · 0.80

Tested by

no test coverage detected