Skip to main content

pick_name

Function pick_name 

Source
pub(crate) fn pick_name(file: &NtfsFile<'_>) -> Option<NtfsFileName>
Expand description

Pick the display name: prefer Win32 / Win32+DOS namespaces, fall back to POSIX, ignore DOS-only short names. Unlike ntfs-reader’s get_best_file_name, reparse-point names are kept — junctions and symlinks are indexed as plain entries.