mirror of
https://github.com/sharkdp/bat
synced 2026-07-26 17:31:42 +00:00
Simplify public API module structure
This commit is contained in:
+4
-6
@@ -18,13 +18,11 @@ use ansi_term;
|
||||
|
||||
use bat::{
|
||||
assets::HighlightingAssets,
|
||||
config::{Config, PagingMode},
|
||||
config::{
|
||||
Config, HighlightedLineRanges, InputFile, LineRange, LineRanges, OutputWrap, PagingMode,
|
||||
StyleComponent, StyleComponents, SyntaxMapping,
|
||||
},
|
||||
errors::*,
|
||||
inputfile::InputFile,
|
||||
line_range::{HighlightedLineRanges, LineRange, LineRanges},
|
||||
style::{StyleComponent, StyleComponents},
|
||||
syntax_mapping::SyntaxMapping,
|
||||
wrap::OutputWrap,
|
||||
};
|
||||
|
||||
fn is_truecolor_terminal() -> bool {
|
||||
|
||||
+1
-3
@@ -29,10 +29,8 @@ use directories::PROJECT_DIRS;
|
||||
|
||||
use bat::{
|
||||
assets::HighlightingAssets,
|
||||
config::Config,
|
||||
config::{Config, InputFile, StyleComponent, StyleComponents},
|
||||
errors::*,
|
||||
inputfile::InputFile,
|
||||
style::{StyleComponent, StyleComponents},
|
||||
};
|
||||
|
||||
fn run_cache_subcommand(matches: &clap::ArgMatches) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user