// Filesystem trait abstraction for mocking in tests.
//
// Higher-level operations are preferred over raw fs operations. If finer-grained mocking becomes
// necessary, we can split these into more atomic operations later.
use Debug;
use io;
use ;
/// Abstraction over filesystem operations used by cargo-detect-package.
///
/// This trait is automatically mocked by mockall in test builds, generating `MockFilesystem`.
pub