summaryrefslogtreecommitdiff
path: root/cli/disk_cache.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-12 22:25:25 +1100
committerGitHub <noreply@github.com>2020-10-12 22:25:25 +1100
commit26639b3bac463768c65f7fc40a1c53317549e1eb (patch)
tree4164b44e0530f6ec2d6316028aca65a04f320751 /cli/disk_cache.rs
parente877b36072039811066726ab1619e7b5142f5680 (diff)
chore(cli): remove dead code (#7941)
Diffstat (limited to 'cli/disk_cache.rs')
-rw-r--r--cli/disk_cache.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/disk_cache.rs b/cli/disk_cache.rs
index 808a1c9b7..8978065de 100644
--- a/cli/disk_cache.rs
+++ b/cli/disk_cache.rs
@@ -147,11 +147,6 @@ impl DiskCache {
deno_fs::write_file(&path, data, 0o666)
.map_err(|e| with_io_context(&e, format!("{:#?}", &path)))
}
-
- pub fn remove(&self, filename: &Path) -> std::io::Result<()> {
- let path = self.location.join(filename);
- fs::remove_file(path)
- }
}
#[cfg(test)]