Add fs_err to disallowed_method in clippy.toml (#1950)

## Summary

Resolve #1916

---------

Co-authored-by: konsti <konstin@mailbox.org>
This commit is contained in:
Taniguchi Yasufumi 2024-02-26 23:15:07 +09:00 committed by GitHub
parent a5a917169b
commit 70e877d11c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 49 additions and 11 deletions

View file

@ -388,7 +388,7 @@ impl<'a> GitCheckout<'a> {
//
// TODO(git2): remove this when git2 supports shallow clone correctly
if database.repo.is_shallow() {
std::fs::copy(
fs_err::copy(
database.repo.path().join("shallow"),
r.path().join("shallow"),
)?;