diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-12 05:06:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 19:06:11 +0000 |
commit | 5e0b2aa47314d1b90e33407866b977f9470fdbbb (patch) | |
tree | 7f37a9f824e198bfd486a1525b5b78a1ef35b289 /cli/cache/code_cache.rs | |
parent | 1463a4ad5805b1b29f33b695ce19d4c42b671790 (diff) |
chore: remove `prevent_v8_code_cache` from `CliModuleLoaderInner` (#25566)
Diffstat (limited to 'cli/cache/code_cache.rs')
-rw-r--r-- | cli/cache/code_cache.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cli/cache/code_cache.rs b/cli/cache/code_cache.rs index d9e951af6..abcd0d46a 100644 --- a/cli/cache/code_cache.rs +++ b/cli/cache/code_cache.rs @@ -80,10 +80,6 @@ impl CodeCache { data, )); } - - pub fn remove_code_cache(&self, specifier: &str) { - Self::ensure_ok(self.inner.remove_code_cache(specifier)) - } } impl code_cache::CodeCache for CodeCache { @@ -162,15 +158,6 @@ impl CodeCacheInner { self.conn.execute(sql, params)?; Ok(()) } - - pub fn remove_code_cache(&self, specifier: &str) -> Result<(), AnyError> { - let sql = " - DELETE FROM codecache - WHERE specifier=$1;"; - let params = params![specifier]; - self.conn.execute(sql, params)?; - Ok(()) - } } fn serialize_code_cache_type( |