1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-11 20:11:43 +00:00

Move InputFile to separate module

This commit is contained in:
sharkdp
2018-10-07 11:21:41 +02:00
committed by David Peter
parent 1be346a038
commit 860f3e9006
6 changed files with 15 additions and 11 deletions
+1 -7
View File
@@ -15,6 +15,7 @@ use ansi_term;
use assets::BAT_THEME_DEFAULT;
use errors::*;
use inputfile::InputFile;
use line_range::LineRange;
use style::{OutputComponent, OutputComponents, OutputWrap};
@@ -25,13 +26,6 @@ pub enum PagingMode {
Never,
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum InputFile<'a> {
StdIn,
Ordinary(&'a str),
ThemePreviewFile,
}
#[derive(Clone)]
pub struct Config<'a> {
/// List of files to print