mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 09:50:34 +01:00
Move filetypes up from 'internal'
This commit is contained in:
parent
2cfb1a2bb2
commit
5c27ab1a06
4 changed files with 5 additions and 8 deletions
|
@ -4,9 +4,6 @@ use std::ffi::{OsStr, OsString};
|
||||||
use regex_syntax::hir::Hir;
|
use regex_syntax::hir::Hir;
|
||||||
use regex_syntax::ParserBuilder;
|
use regex_syntax::ParserBuilder;
|
||||||
|
|
||||||
pub use self::file_types::FileTypes;
|
|
||||||
|
|
||||||
mod file_types;
|
|
||||||
pub mod filter;
|
pub mod filter;
|
||||||
pub mod opts;
|
pub mod opts;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
use crate::exec::CommandTemplate;
|
use crate::exec::CommandTemplate;
|
||||||
use crate::internal::{
|
use crate::filetypes::FileTypes;
|
||||||
filter::{SizeFilter, TimeFilter},
|
use crate::internal::filter::{SizeFilter, TimeFilter};
|
||||||
FileTypes,
|
|
||||||
};
|
|
||||||
use lscolors::LsColors;
|
use lscolors::LsColors;
|
||||||
use regex::bytes::RegexSet;
|
use regex::bytes::RegexSet;
|
||||||
use std::{path::PathBuf, sync::Arc, time::Duration};
|
use std::{path::PathBuf, sync::Arc, time::Duration};
|
||||||
|
|
|
@ -4,6 +4,7 @@ mod internal;
|
||||||
mod app;
|
mod app;
|
||||||
mod exec;
|
mod exec;
|
||||||
mod exit_codes;
|
mod exit_codes;
|
||||||
|
mod filetypes;
|
||||||
pub mod fshelper;
|
pub mod fshelper;
|
||||||
mod output;
|
mod output;
|
||||||
mod walk;
|
mod walk;
|
||||||
|
@ -20,10 +21,11 @@ use lscolors::LsColors;
|
||||||
use regex::bytes::{RegexBuilder, RegexSetBuilder};
|
use regex::bytes::{RegexBuilder, RegexSetBuilder};
|
||||||
|
|
||||||
use crate::exec::CommandTemplate;
|
use crate::exec::CommandTemplate;
|
||||||
|
use crate::filetypes::FileTypes;
|
||||||
use crate::internal::{
|
use crate::internal::{
|
||||||
filter::{SizeFilter, TimeFilter},
|
filter::{SizeFilter, TimeFilter},
|
||||||
opts::FdOptions,
|
opts::FdOptions,
|
||||||
pattern_has_uppercase_char, transform_args_with_exec, FileTypes,
|
pattern_has_uppercase_char, transform_args_with_exec,
|
||||||
};
|
};
|
||||||
|
|
||||||
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
||||||
|
|
Loading…
Reference in a new issue