mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-16 17:25:11 +00:00
0d8d723408
Instead of having a File do its own extension checking, create a new type that takes a file and checks *that*. This new type (FileExtensions) is currently empty, but were it to contain values, those values could be used to determine the file’s colour.
8 lines
310 B
Rust
8 lines
310 B
Rust
//! The “info” module contains routines that aren’t about probing the
|
||
//! filesystem nor displaying output to the user, but are internal “business
|
||
//! logic” routines that are performed on a file’s already-read metadata.
|
||
//! (This counts the file name as metadata.)
|
||
|
||
pub mod filetype;
|
||
mod sources;
|