summaryrefslogtreecommitdiff
path: root/cli/cache/mod.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-10-01 14:05:40 -0400
committerGitHub <noreply@github.com>2024-10-01 14:05:40 -0400
commit4c8d57db03bac12d2a13566b3cc7454cfbd67314 (patch)
tree7f8ffe216dd78245ab327685e6b4752f8196be08 /cli/cache/mod.rs
parent29104384c4cb5aab082749382802560907ebec42 (diff)
BREAKING: rename "deps" remote cache folder to "remote" (#25969)
Closes https://github.com/denoland/deno/issues/25967 Closes #25968
Diffstat (limited to 'cli/cache/mod.rs')
-rw-r--r--cli/cache/mod.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/cache/mod.rs b/cli/cache/mod.rs
index 2296bce01..628502c50 100644
--- a/cli/cache/mod.rs
+++ b/cli/cache/mod.rs
@@ -87,10 +87,6 @@ impl deno_cache_dir::DenoCacheEnv for RealDenoCacheEnv {
std::fs::create_dir_all(path)
}
- fn remove_file(&self, path: &Path) -> std::io::Result<()> {
- std::fs::remove_file(path)
- }
-
fn modified(&self, path: &Path) -> std::io::Result<Option<SystemTime>> {
match std::fs::metadata(path) {
Ok(metadata) => Ok(Some(
@@ -149,13 +145,6 @@ impl<'a> deno_cache_dir::DenoCacheEnv for DenoCacheEnvFsAdapter<'a> {
.map_err(|e| e.into_io_error())
}
- fn remove_file(&self, path: &Path) -> std::io::Result<()> {
- self
- .0
- .remove_sync(path, false)
- .map_err(|e| e.into_io_error())
- }
-
fn modified(&self, path: &Path) -> std::io::Result<Option<SystemTime>> {
self
.0