exa/src/info/mod.rs
Benjamin Sago 0d8d723408 Reify file extensions
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.
2017-07-10 13:31:20 +01:00

8 lines
310 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//! The “info” module contains routines that arent about probing the
//! filesystem nor displaying output to the user, but are internal “business
//! logic” routines that are performed on a files already-read metadata.
//! (This counts the file name as metadata.)
pub mod filetype;
mod sources;