summaryrefslogtreecommitdiff
path: root/ext/fs/clippy.toml
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-05-08 11:02:02 -0400
committerGitHub <noreply@github.com>2023-05-08 11:02:02 -0400
commitdf1ca4a158eda08846e11ceb03dd68d6fcffda75 (patch)
treea2c3f2922a3b6326d223e079e3acbedb95048918 /ext/fs/clippy.toml
parent0aa2d7c9c16c514e47bbd07ca90552f9159901ef (diff)
refactor(ext/fs): `deno_fs::FileSystem` - conditional `Send + Sync` (#18993)
This allows for having a conditional `Send + Sync` on the file system trait for Deploy.
Diffstat (limited to 'ext/fs/clippy.toml')
-rw-r--r--ext/fs/clippy.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/fs/clippy.toml b/ext/fs/clippy.toml
index 53676a90e..023769214 100644
--- a/ext/fs/clippy.toml
+++ b/ext/fs/clippy.toml
@@ -43,3 +43,6 @@ disallowed-methods = [
{ path = "std::path::Path::canonicalize", reason = "File system operations should be done using FileSystem trait" },
{ path = "std::path::Path::exists", reason = "File system operations should be done using FileSystem trait" },
]
+disallowed-types = [
+ { path = "std::sync::Arc", reason = "use crate::sync::MaybeArc instead" },
+]