mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
dir_iter: unexport a test-only getter
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user