dir_iter: unexport a test-only getter

This commit is contained in:
Johannes Altmanninger
2025-11-16 13:50:55 +01:00
parent fb83a86c17
commit 7fdb1b4d1f

View File

@@ -54,7 +54,8 @@ pub struct DirEntry {
impl DirEntry {
/// Return the type of this entry if it is already available, otherwise none().
pub fn fast_type(&self) -> Option<DirEntryType> {
#[cfg(test)]
fn fast_type(&self) -> Option<DirEntryType> {
self.typ.get()
}