const fileModeTypeMapping = {
    "40": "folder",
    "10": "file",
    "12": "symlink",
};
export function modeToFileType(mode) {
    const fileMode = mode.toString(8).slice(0, 2);
    // @ts-ignore
    return fileModeTypeMapping[fileMode] || "unknown";
}
