-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathclippy.toml
More file actions
49 lines (49 loc) · 4.64 KB
/
clippy.toml
File metadata and controls
49 lines (49 loc) · 4.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
disallowed-methods = [
{ path = "std::env::current_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::canonicalize", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::is_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::is_file", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::is_symlink", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::metadata", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::read_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::read_link", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::symlink_metadata", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::try_exists", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::exists", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::canonicalize", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::is_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::is_file", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::is_symlink", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::metadata", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::read_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::read_link", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::symlink_metadata", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::try_exists", reason = "System operations should be done using Sys trait" },
{ path = "std::env::set_current_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::env::split_paths", reason = "System operations should be done using Sys trait" },
{ path = "std::env::temp_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::env::var", reason = "System operations should be done using Sys trait" },
{ path = "std::env::var_os", reason = "System operations should be done using Sys trait" },
{ path = "std::env::home_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::canonicalize", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::copy", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::create_dir_all", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::create_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::DirBuilder::new", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::hard_link", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::metadata", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::OpenOptions::new", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::read_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::read_link", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::read_to_string", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::read", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::remove_dir_all", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::remove_dir", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::remove_file", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::rename", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::set_permissions", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::symlink_metadata", reason = "System operations should be done using Sys trait" },
{ path = "std::fs::write", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::canonicalize", reason = "System operations should be done using Sys trait" },
{ path = "std::path::Path::exists", reason = "System operations should be done using Sys trait" },
]