MCPcopy Create free account
hub / github.com/coooodeer/parse-rust / clear_cache

Function clear_cache

src/parser.rs:92–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90}
91
92pub fn clear_cache() {
93 if let Ok(mut cache) = PARSER_CACHE.lock() {
94 cache.clear_all();
95 }
96}
97
98/// A compiled parser that can be reused for multiple parse operations.
99///

Callers 1

_clear_cacheFunction · 0.85

Calls 1

clear_allMethod · 0.80

Tested by

no test coverage detected