You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/erdtree/src/icons
    
    the code of the file until where you have to start completion: use crate::hash;
use ansi_term::Color;
use once_cell::sync::Lazy;
use std::{
    collections::HashMap,
    ffi::{OsStr, OsString},
    fs::FileType,
};

/// Concerned with computing icons given filesystem parameters.
pub mod fs;


    
fn icon_from_file_type(ft: FileType) -> Option<&'static str> {
    if ft.is_dir() {
        return FILE_TYPE_ICON_MAP.get("dir").copied();
    } else if ft.is_symlink() {
        return FILE_TYPE_ICON_MAP.get("symlink").copied();
    }

    None
}