base_scheduler/file_type.rs
1// Released under the MIT License.
2// Copyright, 2026, by Samuel Williams.
3
4/// The portable classification of a filesystem object. Platform metadata can distinguish additional kinds, such as Unix devices, sockets, and FIFOs.
5#[derive(Clone, Copy, Debug, Eq, PartialEq)]
6pub enum FileType {
7 File,
8 Directory,
9 Symlink,
10 Other,
11}